[ekiga] Made the resource-list code a plugin (bug #586271)
- From: Julien Puydt <jpuydt src gnome org>
- To: svn-commits-list gnome org
- Subject: [ekiga] Made the resource-list code a plugin (bug #586271)
- Date: Fri, 19 Jun 2009 08:23:09 -0400 (EDT)
commit 9b1806939e4f86f65fa69ab495b6a6c0afc7d739
Author: Julien Puydt <jpuydt gnome org>
Date: Fri Jun 19 14:22:27 2009 +0200
Made the resource-list code a plugin (bug #586271)
lib/engine/components/resource-list/Makefile.am | 22 ++++++++++++-------
.../resource-list/resource-list-main.cpp | 4 +-
2 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/lib/engine/components/resource-list/Makefile.am b/lib/engine/components/resource-list/Makefile.am
index 245b26f..cb95f18 100644
--- a/lib/engine/components/resource-list/Makefile.am
+++ b/lib/engine/components/resource-list/Makefile.am
@@ -1,4 +1,5 @@
-noinst_LTLIBRARIES = libgmresource_list.la
+plugindir = $(PLUGINDIR)
+plugin_LTLIBRARIES = libgmresource_list.la
resource_list_dir = $(top_srcdir)/lib/engine/components/resource-list/
@@ -16,15 +17,20 @@ libgmresource_list_la_SOURCES = \
$(resource_list_dir)/resource-list-main.cpp \
$(resource_list_dir)/rl-presentity.h \
$(resource_list_dir)/rl-presentity.cpp \
- $(resource_list_dir)/rl-entry.h \
- $(resource_list_dir)/rl-entry.cpp \
- $(resource_list_dir)/rl-entry-ref.h \
- $(resource_list_dir)/rl-entry-ref.cpp \
- $(resource_list_dir)/rl-list.h \
- $(resource_list_dir)/rl-list.cpp \
+ $(resource_list_dir)/rl-entry.h \
+ $(resource_list_dir)/rl-entry.cpp \
+ $(resource_list_dir)/rl-entry-ref.h \
+ $(resource_list_dir)/rl-entry-ref.cpp \
+ $(resource_list_dir)/rl-list.h \
+ $(resource_list_dir)/rl-list.cpp \
$(resource_list_dir)/rl-heap.h \
$(resource_list_dir)/rl-heap.cpp \
$(resource_list_dir)/rl-cluster.h \
$(resource_list_dir)/rl-cluster.cpp
-libgmresource_list_la_LDFLAGS = -export-dynamic -no-undefined $(SIGC_LIBS) $(GLIB_LIBS) $(XML_LIBS)
+libgmresource_list_la_LDFLAGS = \
+ -L$(top_builddir)/lib/engine/components/xcap \
+ $(PLUGINS_LIBTOOL_FLAGS)
+libgmresource_list_la_LIBADD = \
+ $(top_builddir)/lib/engine/components/xcap/libgmxcap.la \
+ $(SIGC_LIBS) $(GLIB_LIBS) $(XML_LIBS)
diff --git a/lib/engine/components/resource-list/resource-list-main.cpp b/lib/engine/components/resource-list/resource-list-main.cpp
index 1019371..61c0b8e 100644
--- a/lib/engine/components/resource-list/resource-list-main.cpp
+++ b/lib/engine/components/resource-list/resource-list-main.cpp
@@ -74,8 +74,8 @@ struct RLSpark: public Ekiga::Spark
bool result;
};
-void
-resource_list_init (Ekiga::KickStart& kickstart)
+extern "C" void
+ekiga_plugin_init (Ekiga::KickStart& kickstart)
{
gmref_ptr<Ekiga::Spark> spark(new RLSpark);
kickstart.add_spark (spark);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]