From de34fb6d4ccfacff5c823c3ce95b4e1746e78afc Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 25 Oct 2010 19:31:22 +0200 Subject: reduce usage of daemon's library in non-daemon parts Signed-off-by: Denys Vlasenko --- src/daemon/Makefile.am | 2 ++ src/daemon/PluginManager.cpp | 1 - src/daemon/abrt-action-save-package-data.cpp | 2 ++ src/hooks/Makefile.am | 1 - 4 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am index daac8462..9eb41f23 100644 --- a/src/daemon/Makefile.am +++ b/src/daemon/Makefile.am @@ -223,6 +223,7 @@ abrt_action_kerneloops_CPPFLAGS = \ $(GLIB_CFLAGS) \ -D_GNU_SOURCE \ -Wall -Werror +# libABRTdUtils is used only because of LoadPluginSettings: abrt_action_kerneloops_LDADD = \ ../../lib/utils/libABRT_web_utils.la \ ../../lib/utils/libABRTdUtils.la \ @@ -244,6 +245,7 @@ abrt_action_print_CPPFLAGS = \ $(GLIB_CFLAGS) \ -D_GNU_SOURCE \ -Wall -Werror +# libABRTdUtils is used only because of make_description_logger: abrt_action_print_LDADD = \ ../../lib/utils/libABRTdUtils.la \ ../../lib/utils/libABRTUtils.la diff --git a/src/daemon/PluginManager.cpp b/src/daemon/PluginManager.cpp index b67048a0..ecc574d9 100644 --- a/src/daemon/PluginManager.cpp +++ b/src/daemon/PluginManager.cpp @@ -21,7 +21,6 @@ #include #include "abrtlib.h" #include "abrt_exception.h" -#include "comm_layer_inner.h" #include "Polkit.h" #include "PluginManager.h" diff --git a/src/daemon/abrt-action-save-package-data.cpp b/src/daemon/abrt-action-save-package-data.cpp index 9c1c4c0b..55acd97f 100644 --- a/src/daemon/abrt-action-save-package-data.cpp +++ b/src/daemon/abrt-action-save-package-data.cpp @@ -25,6 +25,8 @@ #define PROGNAME "abrt-action-save-package-data" +// TODO: convert g_settings_foo usage to command-line switches + /** * Returns the first full path argument in the command line or NULL. * Skips options (params of the form "-XXX"). diff --git a/src/hooks/Makefile.am b/src/hooks/Makefile.am index 4d7c342a..11468b95 100644 --- a/src/hooks/Makefile.am +++ b/src/hooks/Makefile.am @@ -29,7 +29,6 @@ dumpoops_CPPFLAGS = \ # build will succeed, but at runtime plugins do need ABRT*d*Utils dumpoops_LDADD = \ ../../lib/utils/libABRTUtils.la \ - ../../lib/utils/libABRTdUtils.la \ $(GLIB_FLAGS) python_PYTHON = abrt.pth abrt_exception_handler.py -- cgit