grim/guifications2

Some more changes, including the GAIM_PLUGINS to PURPLE_PLUGINS that
org.guifications.gf2
2007-04-01, John Bailey
b5c2e9cb069a
Parents 5dffdcebcfb6
Children 14301625343d
Some more changes, including the GAIM_PLUGINS to PURPLE_PLUGINS that
sadrul caught without even looking at the source :)
--- a/Makefile.am Sun Apr 01 17:37:59 2007 -0400
+++ b/Makefile.am Sun Apr 01 18:49:32 2007 -0400
@@ -27,6 +27,6 @@
gf_config.h: pre_config.h
cp -f po/Makefile po/.tmp-Makefile
- sed -e "s#localedir = .*#localedir = $(GAIM_DATADIR)/locale#g" < po/.tmp-Makefile > po/Makefile
+ sed -e "s#localedir = .*#localedir = $(PIDGIN_DATADIR)/locale#g" < po/.tmp-Makefile > po/Makefile
rm -f po/.tmp-Makefile
$(sedpath) 's/\#define PACKAGE/\#define GF_PACKAGE/g' pre_config.h > $@
--- a/configure.ac Sun Apr 01 17:37:59 2007 -0400
+++ b/configure.ac Sun Apr 01 18:49:32 2007 -0400
@@ -86,6 +86,8 @@
AC_SUBST(PIDGIN_CFLAGS)
AC_SUBST(PIDGIN_LIBS)
+AC_SUBST(PURPLE_CFLAGS)
+AC_SUBST(PURPLE_LIBS)
PIDGIN_LIBDIR=`pkg-config --variable=libdir pidgin`
PIDGIN_DATADIR=`pkg-config --variable=datadir pidgin`
AC_SUBST(PIDGIN_LIBDIR)
--- a/src/Makefile.am Sun Apr 01 17:37:59 2007 -0400
+++ b/src/Makefile.am Sun Apr 01 18:49:32 2007 -0400
@@ -60,7 +60,8 @@
$(GTK_LIBS) \
$(GLIB_LIBS) \
$(PANGOFT2_LIBS) \
- $(PIDGIN_LIBS)
+ $(PIDGIN_LIBS) \
+ $(PURPLE_LIBS)
endif
--- a/src/guifications.c Sun Apr 01 17:37:59 2007 -0400
+++ b/src/guifications.c Sun Apr 01 18:49:32 2007 -0400
@@ -20,7 +20,7 @@
# include "../gf_config.h"
#endif
-#define GAIM_PLUGINS
+#define PURPLE_PLUGINS
#include "gf_action.h"
#include "gf_blist.h"
@@ -137,4 +137,4 @@
gf_preferences_add();
}
-GAIM_INIT_PLUGIN(Guifications2, init_plugin, gf_info)
+PURPLE_INIT_PLUGIN(Guifications2, init_plugin, gf_info)