Fri, 23 Dec 2005 06:48:27 +0000
[gaim-migrate @ 14976]
Yahoo profiles use links of this form:
<a href="http://gaim.sf.net">gaim.sf.net</a>
The Yahoo prpl strips HTML, manipulates the text, then passes it to the core, which passes to the UI, which calls another UI function which calls ...linkify. This leads to these URLs looking quite odd.
The fix is to have the HTML stripping function deal properly with URLs of the above format. With HTTP being the most common type of URL these days, that's probably a good plan anyway.
| 3630 | 1 | # |
| 2 | # Makefile.mingw | |
| 3 | # | |
| 4 | # Description: Makefile for win32 (mingw) version of Gaim Plugins | |
| 5 | # | |
| 6 | ||
| 7 | # | |
| 8 | # PATHS | |
| 9 | # | |
| 10 | ||
| 11 | GAIM_PLUGINS := . | |
| 12 | GAIM_TOP := .. | |
| 13 | GTK_TOP := ../../win32-dev/gtk_2_0 | |
| 14 | OSCAR_ROOT := ../src/protocols/oscar | |
| 15 | GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir | |
| 16 | TICKER := ./ticker | |
| 3729 | 17 | TRANSPARENCY := ./win32/transparency |
|
4133
27ddace02739
[gaim-migrate @ 4351]
Herman Bloggs <herman@bluedigits.com>
parents:
4123
diff
changeset
|
18 | WINPREFS := ./win32/winprefs |
|
5468
b1e54ed69223
[gaim-migrate @ 5860]
Herman Bloggs <herman@bluedigits.com>
parents:
4726
diff
changeset
|
19 | PERL_PLUGIN_LOADER := ./perl |
|
7832
b24c6626a5c0
[gaim-migrate @ 8484]
Herman Bloggs <herman@bluedigits.com>
parents:
7543
diff
changeset
|
20 | TCL_PLUGIN_LOADER := ./tcl |
|
6081
ea55a8eb1211
[gaim-migrate @ 6540]
Herman Bloggs <herman@bluedigits.com>
parents:
5932
diff
changeset
|
21 | DOCKLET := ./docklet |
|
7056
ce7ac622e415
[gaim-migrate @ 7619]
Herman Bloggs <herman@bluedigits.com>
parents:
6449
diff
changeset
|
22 | SSL := ./ssl |
| 3630 | 23 | |
| 24 | ## | |
| 25 | ## VARIABLE DEFINITIONS | |
| 26 | ## | |
| 27 | ||
| 28 | # Compiler Options | |
| 29 | ||
|
3715
9235b37879f0
[gaim-migrate @ 3848]
Herman Bloggs <herman@bluedigits.com>
parents:
3630
diff
changeset
|
30 | CFLAGS = |
| 3630 | 31 | |
|
3715
9235b37879f0
[gaim-migrate @ 3848]
Herman Bloggs <herman@bluedigits.com>
parents:
3630
diff
changeset
|
32 | DEFINES = |
| 3630 | 33 | |
| 34 | .SUFFIXES: | |
| 35 | .SUFFIXES: .c .dll | |
| 36 | ||
| 37 | ## | |
| 38 | ## INCLUDE MAKEFILES | |
| 39 | ## | |
| 40 | ||
|
3715
9235b37879f0
[gaim-migrate @ 3848]
Herman Bloggs <herman@bluedigits.com>
parents:
3630
diff
changeset
|
41 | include $(GAIM_TOP)/src/win32/global.mak |
| 3630 | 42 | |
| 43 | ## | |
| 44 | ## INCLUDE PATHS | |
| 45 | ## | |
| 46 | ||
| 47 | INCLUDE_PATHS += -I$(OSCAR_ROOT) \ | |
| 48 | -I$(GTK_TOP)/include \ | |
| 49 | -I$(GTK_TOP)/include/gtk-2.0 \ | |
| 50 | -I$(GTK_TOP)/include/glib-2.0 \ | |
| 51 | -I$(GTK_TOP)/include/pango-1.0 \ | |
| 52 | -I$(GTK_TOP)/include/atk-1.0 \ | |
| 53 | -I$(GTK_TOP)/lib/glib-2.0/include \ | |
| 54 | -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
| 55 | -I$(GAIM_TOP) \ | |
| 56 | -I$(GAIM_TOP)/src \ | |
| 57 | -I$(GAIM_TOP)/src/win32 | |
| 58 | ||
| 59 | ||
| 60 | LIB_PATHS = -L$(GTK_TOP)/lib \ | |
| 61 | -L$(GAIM_TOP)/src | |
| 62 | ||
| 63 | ||
| 64 | ## | |
| 65 | ## LIBRARIES | |
| 66 | ## | |
| 67 | ||
|
5932
989a2714d78e
[gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents:
5468
diff
changeset
|
68 | LIBS = -lgtk-win32-2.0 \ |
|
989a2714d78e
[gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents:
5468
diff
changeset
|
69 | -lglib-2.0 \ |
|
989a2714d78e
[gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents:
5468
diff
changeset
|
70 | -lgdk-win32-2.0 \ |
|
989a2714d78e
[gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents:
5468
diff
changeset
|
71 | -lgobject-2.0 \ |
|
989a2714d78e
[gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents:
5468
diff
changeset
|
72 | -lgmodule-2.0 \ |
|
6343
96ab34d2c6da
[gaim-migrate @ 6842]
Herman Bloggs <herman@bluedigits.com>
parents:
6081
diff
changeset
|
73 | -lgdk_pixbuf-2.0 \ |
|
96ab34d2c6da
[gaim-migrate @ 6842]
Herman Bloggs <herman@bluedigits.com>
parents:
6081
diff
changeset
|
74 | -lpango-1.0 \ |
|
5932
989a2714d78e
[gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents:
5468
diff
changeset
|
75 | -lintl \ |
|
989a2714d78e
[gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents:
5468
diff
changeset
|
76 | -lws2_32 \ |
|
989a2714d78e
[gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents:
5468
diff
changeset
|
77 | -lgaim |
| 3630 | 78 | |
| 79 | ## | |
| 80 | ## RULES | |
| 81 | ## | |
| 82 | ||
| 83 | ## | |
| 84 | ## TARGET DEFINITIONS | |
| 85 | ## | |
| 86 | ||
| 87 | .PHONY: all clean | |
| 88 | ||
| 89 | all: plugins | |
| 90 | $(MAKE) -C $(TICKER) -f Makefile.mingw | |
|
4133
27ddace02739
[gaim-migrate @ 4351]
Herman Bloggs <herman@bluedigits.com>
parents:
4123
diff
changeset
|
91 | $(MAKE) -C $(WINPREFS) -f Makefile.mingw |
|
4726
6b4828c46d91
[gaim-migrate @ 5039]
Herman Bloggs <herman@bluedigits.com>
parents:
4709
diff
changeset
|
92 | $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw |
|
5468
b1e54ed69223
[gaim-migrate @ 5860]
Herman Bloggs <herman@bluedigits.com>
parents:
4726
diff
changeset
|
93 | $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw |
|
7832
b24c6626a5c0
[gaim-migrate @ 8484]
Herman Bloggs <herman@bluedigits.com>
parents:
7543
diff
changeset
|
94 | $(MAKE) -C $(TCL_PLUGIN_LOADER) -f Makefile.mingw |
|
6081
ea55a8eb1211
[gaim-migrate @ 6540]
Herman Bloggs <herman@bluedigits.com>
parents:
5932
diff
changeset
|
95 | $(MAKE) -C $(DOCKLET) -f Makefile.mingw |
|
7056
ce7ac622e415
[gaim-migrate @ 7619]
Herman Bloggs <herman@bluedigits.com>
parents:
6449
diff
changeset
|
96 | $(MAKE) -C $(SSL) -f Makefile.mingw |
|
4709
32e6177d5672
[gaim-migrate @ 5020]
Herman Bloggs <herman@bluedigits.com>
parents:
4610
diff
changeset
|
97 | |
| 3630 | 98 | install: |
|
4610
1fd06a7b0fad
[gaim-migrate @ 4899]
Herman Bloggs <herman@bluedigits.com>
parents:
4498
diff
changeset
|
99 | cp $(GAIM_PLUGINS)/*.dll $(GAIM_INSTALL_DIR)/plugins |
| 3630 | 100 | $(MAKE) -C $(TICKER) -f Makefile.mingw install |
|
4133
27ddace02739
[gaim-migrate @ 4351]
Herman Bloggs <herman@bluedigits.com>
parents:
4123
diff
changeset
|
101 | $(MAKE) -C $(WINPREFS) -f Makefile.mingw install |
|
4726
6b4828c46d91
[gaim-migrate @ 5039]
Herman Bloggs <herman@bluedigits.com>
parents:
4709
diff
changeset
|
102 | $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install |
|
5468
b1e54ed69223
[gaim-migrate @ 5860]
Herman Bloggs <herman@bluedigits.com>
parents:
4726
diff
changeset
|
103 | $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw install |
|
7832
b24c6626a5c0
[gaim-migrate @ 8484]
Herman Bloggs <herman@bluedigits.com>
parents:
7543
diff
changeset
|
104 | $(MAKE) -C $(TCL_PLUGIN_LOADER) -f Makefile.mingw install |
|
6081
ea55a8eb1211
[gaim-migrate @ 6540]
Herman Bloggs <herman@bluedigits.com>
parents:
5932
diff
changeset
|
105 | $(MAKE) -C $(DOCKLET) -f Makefile.mingw install |
|
7056
ce7ac622e415
[gaim-migrate @ 7619]
Herman Bloggs <herman@bluedigits.com>
parents:
6449
diff
changeset
|
106 | $(MAKE) -C $(SSL) -f Makefile.mingw install |
|
4709
32e6177d5672
[gaim-migrate @ 5020]
Herman Bloggs <herman@bluedigits.com>
parents:
4610
diff
changeset
|
107 | |
| 3630 | 108 | # |
| 109 | # BUILD Plugin | |
| 110 | # | |
| 111 | ||
| 112 | .c.dll: | |
|
5932
989a2714d78e
[gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents:
5468
diff
changeset
|
113 | $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< |
|
989a2714d78e
[gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents:
5468
diff
changeset
|
114 | $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ |
| 3630 | 115 | |
|
6449
5444e7e0ffa5
[gaim-migrate @ 6958]
Herman Bloggs <herman@bluedigits.com>
parents:
6343
diff
changeset
|
116 | plugins: \ |
|
9217
e24b8de727d7
[gaim-migrate @ 10013]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
7832
diff
changeset
|
117 | extplacement.dll \ |
|
12452
05216d7995e2
[gaim-migrate @ 14761]
Daniel Atallah <datallah@pidgin.im>
parents:
11958
diff
changeset
|
118 | gaimrc.dll \ |
|
6449
5444e7e0ffa5
[gaim-migrate @ 6958]
Herman Bloggs <herman@bluedigits.com>
parents:
6343
diff
changeset
|
119 | history.dll \ |
|
5444e7e0ffa5
[gaim-migrate @ 6958]
Herman Bloggs <herman@bluedigits.com>
parents:
6343
diff
changeset
|
120 | iconaway.dll \ |
|
5444e7e0ffa5
[gaim-migrate @ 6958]
Herman Bloggs <herman@bluedigits.com>
parents:
6343
diff
changeset
|
121 | idle.dll \ |
| 7543 | 122 | relnot.dll \ |
|
6449
5444e7e0ffa5
[gaim-migrate @ 6958]
Herman Bloggs <herman@bluedigits.com>
parents:
6343
diff
changeset
|
123 | spellchk.dll \ |
|
5444e7e0ffa5
[gaim-migrate @ 6958]
Herman Bloggs <herman@bluedigits.com>
parents:
6343
diff
changeset
|
124 | statenotify.dll \ |
|
5444e7e0ffa5
[gaim-migrate @ 6958]
Herman Bloggs <herman@bluedigits.com>
parents:
6343
diff
changeset
|
125 | timestamp.dll |
| 3630 | 126 | |
| 127 | ||
| 128 | ## | |
| 129 | ## CLEAN RULES | |
| 130 | ## | |
| 131 | ||
| 132 | clean: | |
| 133 | rm -rf *.o | |
| 134 | rm -rf *.dll | |
| 135 | $(MAKE) -C $(TICKER) -f Makefile.mingw clean | |
|
4401
704367f1b7e6
[gaim-migrate @ 4670]
Herman Bloggs <herman@bluedigits.com>
parents:
4363
diff
changeset
|
136 | $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw clean |
|
4133
27ddace02739
[gaim-migrate @ 4351]
Herman Bloggs <herman@bluedigits.com>
parents:
4123
diff
changeset
|
137 | $(MAKE) -C $(WINPREFS) -f Makefile.mingw clean |
|
5468
b1e54ed69223
[gaim-migrate @ 5860]
Herman Bloggs <herman@bluedigits.com>
parents:
4726
diff
changeset
|
138 | $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw clean |
|
7832
b24c6626a5c0
[gaim-migrate @ 8484]
Herman Bloggs <herman@bluedigits.com>
parents:
7543
diff
changeset
|
139 | $(MAKE) -C $(TCL_PLUGIN_LOADER) -f Makefile.mingw clean |
|
6081
ea55a8eb1211
[gaim-migrate @ 6540]
Herman Bloggs <herman@bluedigits.com>
parents:
5932
diff
changeset
|
140 | $(MAKE) -C $(DOCKLET) -f Makefile.mingw clean |
|
7056
ce7ac622e415
[gaim-migrate @ 7619]
Herman Bloggs <herman@bluedigits.com>
parents:
6449
diff
changeset
|
141 | $(MAKE) -C $(SSL) -f Makefile.mingw clean |