0.8.8claws4
authorChristoph Hohmann <reboot@gmx.ch>
Thu, 26 Dec 2002 17:43:03 +0000 (17:43 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Thu, 26 Dec 2002 17:43:03 +0000 (17:43 +0000)
* src/common/plugin.c
        add a little debug output
* configure.in
* src/plugins/demo/Makefile.am
        better use of automake

ChangeLog.claws
configure.in
src/common/plugin.c
src/plugins/demo/Makefile.am

index 96e7d91f1cc25281d39894b8eee335ad7e38f14a..5d0826aa8098b22e226ab6b3f1e302b9f296f963 100644 (file)
@@ -1,3 +1,11 @@
+2002-12-26 [christoph] 0.8.8claws4
+
+       * src/common/plugin.c
+               add a little debug output
+       * configure.in
+       * src/plugins/demo/Makefile.am
+               better use of automake
+
 2002-12-26 [christoph] 0.8.8claws3
 
        * src/Makefile.am
 2002-12-26 [christoph] 0.8.8claws3
 
        * src/Makefile.am
index d875ec1b5d236d7f52a4df873714b29b0fd7adbe..58c29ac57db48232299f968bf1527c9a1266a474 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws3
+EXTRA_VERSION=claws4
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
@@ -373,7 +373,6 @@ dnl ** section for plugins **
 dnl *************************
 
 PLUGINS=""
 dnl *************************
 
 PLUGINS=""
-PLUGINDIR=${prefix}/${DATADIRNAME}/${PACKAGE}/plugins
 
 AC_ARG_ENABLE(demo-plugin,
        [  --enable-demo-plugin    Build demo plugin [default=no]],
 
 AC_ARG_ENABLE(demo-plugin,
        [  --enable-demo-plugin    Build demo plugin [default=no]],
@@ -384,7 +383,6 @@ fi
 
 AC_SUBST(PLUGINS)
 AC_SUBST(PLUGINDIR)
 
 AC_SUBST(PLUGINS)
 AC_SUBST(PLUGINDIR)
-AC_DEFINE(PLUGINDIR, "$PLUGINDIR", Path where plugins will be installed)
 
 dnl ****************************
 dnl ** Final configure output **
 
 dnl ****************************
 dnl ** Final configure output **
index b378794d8602ee33ee3487a12b5f2e898c500904..0071715c759585df9dcd79868b1e36ff5a7b104f 100644 (file)
@@ -113,6 +113,8 @@ gint plugin_load(const gchar *filename, gchar **error)
 
        plugins = g_slist_append(plugins, plugin);
 
 
        plugins = g_slist_append(plugins, plugin);
 
+       debug_print("Plugin %s (from file %s) loaded\n", plugin->name, plugin->filename);
+
        return 0;
 }
 
        return 0;
 }
 
index 49c7e03cba6dbdec8daa1ac3df5007bef2e42ab8..dc428d9056898bebf9d32355191cd357e4dca4ee 100644 (file)
@@ -1,6 +1,6 @@
-libdir = $(PLUGINDIR)
+plugindir = $(pkglibdir)/plugins
 
 
-lib_LTLIBRARIES = demo.la
+plugin_LTLIBRARIES = demo.la
 
 demo_la_SOURCES = \
        demo.c
 
 demo_la_SOURCES = \
        demo.c