Mercurial > pidgin
annotate plugins/Makefile.mingw @ 5105:4cfc49e31c2e
[gaim-migrate @ 5468]
David Brigada (jsi) writes:
" This patch changes GTK_WRAP_WORD to GTK_WRAP_WORD_CHAR
throughout the sources. That fixes a bug where long
single-word input into GtkTextViews and similar would
cause the textview to expand, causing the window to
expand. This fix depends on a patch to GTK+ that is in
current CVS but not yet released. To address the
backwards-compatibility issue, GTK_WRAP_WORD_CHAR is
#defined to GTK_WRAP_WORD when not defined by GTK+'s
header files.
The only problem I can forsee is binary compatibility;
if Gaim is compiled under a GTK+ CVS (or a future
release) environment, and then run under a GTK+ 2.2.1
or earlier environment, behavior is undefined; the text
area will probably not wrap at all. However, source
compatibility is maintained."
basically, gaim will start wrapping text in any version of gtk2 that supports it,
and should work exactly the same in any version that still has the bug.
many thanks to David for his hard work.
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Fri, 11 Apr 2003 04:23:55 +0000 |
| parents | 0b1c01fd68f1 |
| children | 809ef68273c8 |
| rev | line source |
|---|---|
| 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
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
18 WINPREFS := ./win32/winprefs |
| 3630 | 19 |
| 20 ## | |
| 21 ## VARIABLE DEFINITIONS | |
| 22 ## | |
| 23 | |
| 24 # Compiler Options | |
| 25 | |
|
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
26 CFLAGS = |
| 3630 | 27 |
|
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
28 DEFINES = |
| 3630 | 29 |
| 30 .SUFFIXES: | |
| 31 .SUFFIXES: .c .dll | |
| 32 | |
| 33 ## | |
| 34 ## INCLUDE MAKEFILES | |
| 35 ## | |
| 36 | |
|
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
37 include $(GAIM_TOP)/src/win32/global.mak |
| 3630 | 38 |
| 39 ## | |
| 40 ## INCLUDE PATHS | |
| 41 ## | |
| 42 | |
| 43 INCLUDE_PATHS += -I$(OSCAR_ROOT) \ | |
| 44 -I$(GTK_TOP)/include \ | |
| 45 -I$(GTK_TOP)/include/gtk-2.0 \ | |
| 46 -I$(GTK_TOP)/include/glib-2.0 \ | |
| 47 -I$(GTK_TOP)/include/pango-1.0 \ | |
| 48 -I$(GTK_TOP)/include/atk-1.0 \ | |
| 49 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
| 50 -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
| 51 -I$(GAIM_TOP) \ | |
| 52 -I$(GAIM_TOP)/src \ | |
| 53 -I$(GAIM_TOP)/src/win32 | |
| 54 | |
| 55 | |
| 56 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
| 57 -L$(GAIM_TOP)/src | |
| 58 | |
| 59 | |
| 60 ## | |
| 61 ## LIBRARIES | |
| 62 ## | |
| 63 | |
| 64 LIBS = -lgtk-win32-2.0 -lglib-2.0 -lgdk-win32-2.0 -lgobject-2.0 -lgmodule-2.0 -lintl -lws2_32 -liberty -lgaim | |
| 65 | |
| 66 ## | |
| 67 ## RULES | |
| 68 ## | |
| 69 | |
| 70 ## | |
| 71 ## TARGET DEFINITIONS | |
| 72 ## | |
| 73 | |
| 74 .PHONY: all clean | |
| 75 | |
| 76 all: plugins | |
| 77 $(MAKE) -C $(TICKER) -f Makefile.mingw | |
|
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
78 $(MAKE) -C $(WINPREFS) -f Makefile.mingw |
|
4726
0b1c01fd68f1
[gaim-migrate @ 5039]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4709
diff
changeset
|
79 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw |
|
4709
57d74064445a
[gaim-migrate @ 5020]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4610
diff
changeset
|
80 |
| 3630 | 81 install: |
|
4610
758f2edc3298
[gaim-migrate @ 4899]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4498
diff
changeset
|
82 cp $(GAIM_PLUGINS)/*.dll $(GAIM_INSTALL_DIR)/plugins |
| 3630 | 83 $(MAKE) -C $(TICKER) -f Makefile.mingw install |
|
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
84 $(MAKE) -C $(WINPREFS) -f Makefile.mingw install |
|
4726
0b1c01fd68f1
[gaim-migrate @ 5039]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4709
diff
changeset
|
85 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install |
|
4709
57d74064445a
[gaim-migrate @ 5020]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4610
diff
changeset
|
86 |
| 3630 | 87 # |
| 88 # BUILD Plugin | |
| 89 # | |
| 90 | |
| 91 .c.dll: | |
| 92 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o tmp$@.o -c $< | |
| 93 dlltool -D $@ -z $@.def tmp$@.o | |
|
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
94 $(CC) -mdll -o junk.tmp -Wl,--base-file,$@.base tmp$@.o $(LIB_PATHS) $(LIBS) |
| 3630 | 95 dlltool -D $@ -b $@.base -e $@.exp -d $@.def |
|
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
96 $(CC) -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS) |
| 3630 | 97 rm -rf $@.base $@.def $@.exp junk.tmp |
| 98 | |
|
4726
0b1c01fd68f1
[gaim-migrate @ 5039]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4709
diff
changeset
|
99 plugins: iconaway.dll spellchk.dll autorecon.dll |
| 3630 | 100 |
| 101 | |
| 102 ## | |
| 103 ## CLEAN RULES | |
| 104 ## | |
| 105 | |
| 106 clean: | |
| 107 rm -rf *.o | |
| 108 rm -rf *.dll | |
| 109 $(MAKE) -C $(TICKER) -f Makefile.mingw clean | |
|
4401
3f09e83b569a
[gaim-migrate @ 4670]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
110 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw clean |
|
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
111 $(MAKE) -C $(WINPREFS) -f Makefile.mingw clean |
