pidgin/purple-plugin-pack

Parents d0fece3761b4
Children 892b02a89537
Make switchspell work on Windows with Pidgin 2.7.x. Fixes #661.
--- a/switchspell/Makefile.mingw Sat Dec 04 14:16:33 2010 -0500
+++ b/switchspell/Makefile.mingw Sun Dec 12 12:01:01 2010 -0500
@@ -4,8 +4,8 @@
# Description: Makefile for switchspell plugin.
#
-ASPELL_TOP = $(PIDGIN_TREE_TOP)/../win32-dev/aspell-dev-0-50-3-3
-GTKSPELL_TOP = $(PIDGIN_TREE_TOP)/../win32-dev/gtkspell-2.0.11-daa1
+ENCHANT_TOP = $(PIDGIN_TREE_TOP)/../win32-dev/enchant_1.5.0-2_win32
+GTKSPELL_TOP = $(PIDGIN_TREE_TOP)/../win32-dev/gtkspell-2.0.16
PP_TOP := ..
PP = switchspell
@@ -13,14 +13,14 @@
include $(PP_TOP)/win_pp.mak
INCLUDE_PATHS += \
- -I$(GTKSPELL_TOP) \
- -I$(ASPELL_TOP)/include
+ -I$(GTKSPELL_TOP)/include/gtkspell-2.0 \
+ -I$(ENCHANT_TOP)/include/enchant
LIB_PATHS += \
- -L$(GTKSPELL_TOP)/gtkspell \
- -L$(ASPELL_TOP)/lib
+ -L$(GTKSPELL_TOP)/lib \
+ -L$(ENCHANT_TOP)/lib
PLUGIN_LIBS += \
- -lgtkspell \
- -laspell-15
+ -llibgtkspell \
+ -llibenchant
--- a/win_pp.mak Sat Dec 04 14:16:33 2010 -0500
+++ b/win_pp.mak Sun Dec 12 12:01:01 2010 -0500
@@ -9,7 +9,7 @@
include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
-DEFINES += -DPP_VERSION=\"$(PP_VERSION)\"
+DEFINES += -DPP_VERSION=\"$(PP_VERSION)\" -DHAVE_ENCHANT
##
## INCLUDE PATHS
@@ -24,6 +24,7 @@
-I$(GTK_TOP)/include/freetype2 \
-I$(GTK_TOP)/lib/glib-2.0/include \
-I$(GTK_TOP)/lib/gtk-2.0/include \
+ -I$(GTK_TOP)/include/cairo \
-I$(PURPLE_TOP) \
-I$(PURPLE_TOP)/win32 \
-I$(PIDGIN_TOP) \