From a2a1ec29e008936654a146df244e4265668bfb31 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Fri, 24 Jul 2009 10:54:10 +0200 Subject: Added first part of gui support in reporting --- lib/Plugins/Bugzilla.h | 3 ++- lib/Plugins/CCpp.h | 3 ++- lib/Plugins/FileTransfer.h | 3 ++- lib/Plugins/Kerneloops.h | 3 ++- lib/Plugins/KerneloopsReporter.h | 3 ++- lib/Plugins/KerneloopsScanner.h | 3 ++- lib/Plugins/Logger.h | 3 ++- lib/Plugins/Mailx.h | 3 ++- lib/Plugins/Makefile.am | 9 +++++++-- lib/Plugins/Python.h | 3 ++- lib/Plugins/RunApp.h | 3 ++- lib/Plugins/SOSreport.h | 3 ++- lib/Plugins/SQLite3.h | 3 ++- 13 files changed, 31 insertions(+), 14 deletions(-) (limited to 'lib/Plugins') diff --git a/lib/Plugins/Bugzilla.h b/lib/Plugins/Bugzilla.h index 88d5b179..cc01153d 100644 --- a/lib/Plugins/Bugzilla.h +++ b/lib/Plugins/Bugzilla.h @@ -47,7 +47,8 @@ PLUGIN_INFO(REPORTER, "Check if a bug isn't already reported in a bugzilla " "and if not, report it.", "zprikryl@redhat.com", - "https://fedorahosted.org/abrt/wiki"); + "https://fedorahosted.org/abrt/wiki", + PLUGINS_LIB_DIR"/Bugzilla.GTKBuilder"); #endif /* BUGZILLA_H_ */ diff --git a/lib/Plugins/CCpp.h b/lib/Plugins/CCpp.h index 1bdf230e..d60c9a41 100644 --- a/lib/Plugins/CCpp.h +++ b/lib/Plugins/CCpp.h @@ -58,6 +58,7 @@ PLUGIN_INFO(ANALYZER, "0.0.1", "Simple C/C++ analyzer plugin.", "zprikryl@redhat.com", - "https://fedorahosted.org/crash-catcher/wiki"); + "https://fedorahosted.org/abrt/wiki", + ""); #endif /* CCPP */ diff --git a/lib/Plugins/FileTransfer.h b/lib/Plugins/FileTransfer.h index 03e788d3..ad2aded8 100644 --- a/lib/Plugins/FileTransfer.h +++ b/lib/Plugins/FileTransfer.h @@ -62,7 +62,8 @@ PLUGIN_INFO(ACTION, "0.0.6", "Sends a report via FTP or SCTP", "dnovotny@redhat.com", - "https://fedorahosted.org/crash-catcher/wiki"); + "https://fedorahosted.org/crash-catcher/wiki", + ""); #endif /* FILETRANSFER_H_ */ diff --git a/lib/Plugins/Kerneloops.h b/lib/Plugins/Kerneloops.h index 00b4ea0e..6dc440f9 100644 --- a/lib/Plugins/Kerneloops.h +++ b/lib/Plugins/Kerneloops.h @@ -49,6 +49,7 @@ PLUGIN_INFO(ANALYZER, "0.0.2", "Abrt's Kerneloops plugin.", "anton@redhat.com", - "https://people.redhat.com/aarapov"); + "https://people.redhat.com/aarapov", + ""); #endif diff --git a/lib/Plugins/KerneloopsReporter.h b/lib/Plugins/KerneloopsReporter.h index dc01b533..aea774d8 100644 --- a/lib/Plugins/KerneloopsReporter.h +++ b/lib/Plugins/KerneloopsReporter.h @@ -51,6 +51,7 @@ PLUGIN_INFO(REPORTER, "0.0.1", "Sends the Kerneloops crash information to Kerneloopsoops.org", "anton@redhat.com", - "http://people.redhat.com/aarapov"); + "http://people.redhat.com/aarapov", + PLUGINS_LIB_DIR"/KerneloopsReporter.GTKBuilder"); #endif diff --git a/lib/Plugins/KerneloopsScanner.h b/lib/Plugins/KerneloopsScanner.h index f823d1fc..2f28239c 100644 --- a/lib/Plugins/KerneloopsScanner.h +++ b/lib/Plugins/KerneloopsScanner.h @@ -33,6 +33,7 @@ PLUGIN_INFO(ACTION, "0.0.1", "Save new Kerneloops crashes into debug dump dir", "anton@redhat.com", - "http://people.redhat.com/aarapov"); + "http://people.redhat.com/aarapov", + ""); #endif /* KERNELOOPSSCANNER_H_ */ diff --git a/lib/Plugins/Logger.h b/lib/Plugins/Logger.h index 62b6a1d1..07e7576d 100644 --- a/lib/Plugins/Logger.h +++ b/lib/Plugins/Logger.h @@ -46,6 +46,7 @@ PLUGIN_INFO(REPORTER, "0.0.1", "Write a report to a specific file", "zprikryl@redhat.com", - "https://fedorahosted.org/crash-catcher/wiki"); + "https://fedorahosted.org/abrt/wiki", + PLUGINS_LIB_DIR"/Logger.GTKBuilder"); #endif /* LOGGER_H_ */ diff --git a/lib/Plugins/Mailx.h b/lib/Plugins/Mailx.h index 2f5c343d..4235764e 100644 --- a/lib/Plugins/Mailx.h +++ b/lib/Plugins/Mailx.h @@ -54,6 +54,7 @@ PLUGIN_INFO(REPORTER, "0.0.2", "Sends an email with a report via mailx command", "zprikryl@redhat.com", - "https://fedorahosted.org/crash-catcher/wiki"); + "https://fedorahosted.org/abrt/wiki", + PLUGINS_LIB_DIR"/Mailx.GTKBuilder"); #endif /* MAILX_H_ */ diff --git a/lib/Plugins/Makefile.am b/lib/Plugins/Makefile.am index a67757f7..740b40f7 100644 --- a/lib/Plugins/Makefile.am +++ b/lib/Plugins/Makefile.am @@ -13,9 +13,12 @@ pluginslib_LTLIBRARIES = libCCpp.la \ libPython.la \ libFileTransfer.la +dist_pluginslib_DATA = KerneloopsReporter.GTKBuilder Logger.GTKBuilder Mailx.GTKBuilder Bugzilla.GTKBuilder + pluginsconfdir=$(PLUGINS_CONF_DIR) dist_pluginsconf_DATA = CCpp.conf Mailx.conf SQLite3.conf Logger.conf KerneloopsScanner.conf KerneloopsReporter.conf Bugzilla.conf FileTransfer.conf + man_MANS = abrt-FileTransfer.7 abrt-Bugzilla.7 abrt-KerneloopsReporter.7\ abrt-KerneloopsScanner.7 abrt-Logger.7 abrt-Mailx.7 abrt-plugins.7\ abrt-SQLite3.7 abrt-RunApp.7 @@ -42,7 +45,7 @@ libKerneloops_la_CPPFLAGS = -I$(srcdir)/../CommLayer -I$(srcdir)/../../inc -I$(s libKerneloopsReporter_la_SOURCES = KerneloopsReporter.cpp KerneloopsReporter.h PluginSettings.h libKerneloopsReporter_la_LDFLAGS = -avoid-version libKerneloopsReporter_la_LIBADD = $(CURL_LIBS) -libKerneloopsReporter_la_CPPFLAGS = -I$(srcdir)/../CommLayer -I$(srcdir)/../../inc -I$(srcdir)/../MiddleWare $(CURL_CFLAGS) +libKerneloopsReporter_la_CPPFLAGS = -I$(srcdir)/../CommLayer -I$(srcdir)/../../inc -I$(srcdir)/../MiddleWare $(CURL_CFLAGS) -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" # KerneloopsScanner libKerneloopsScanner_la_SOURCES = KerneloopsScanner.cpp KerneloopsScanner.h KerneloopsSysLog.cpp KerneloopsSysLog.h PluginSettings.h @@ -52,6 +55,7 @@ libKerneloopsScanner_la_CPPFLAGS = -I$(srcdir)/../CommLayer -I$(srcdir)/../../in # Mailx libMailx_la_SOURCES = Mailx.cpp Mailx.h PluginSettings.h libMailx_la_LDFLAGS = -avoid-version +libMailx_la_CPPFLAGS = -I$(srcdir)/../../inc -I$(srcdir)/../MiddleWare -I$(srcdir)/../Utils -I$(srcdir)/../CommLayer -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" # SQLite3 libSQLite3_la_SOURCES = SQLite3.cpp SQLite3.h PluginSettings.h @@ -62,6 +66,7 @@ libSQLite3_la_CPPFLAGS = -I$(srcdir)/../CommLayer -I$(srcdir)/../../inc -I$(srcd # Logger libLogger_la_SOURCES = Logger.cpp Logger.h PluginSettings.h libLogger_la_LDFLAGS = -avoid-version +libLogger_la_CPPFLAGS = -I$(srcdir)/../../inc -I$(srcdir)/../MiddleWare -I$(srcdir)/../Utils -I$(srcdir)/../CommLayer -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" # RunApp libRunApp_la_SOURCES = RunApp.h RunApp.cpp @@ -75,7 +80,7 @@ libSOSreport_la_LDFLAGS = -avoid-version libBugzilla_la_SOURCES = Bugzilla.h Bugzilla.cpp PluginSettings.h libBugzilla_la_LIBADD = $(XMLRPC_CPP_LIBS) $(XMLRPC_CLIENT_CPP_LIBS) $(NSS_LIBS) libBugzilla_la_LDFLAGS = -avoid-version -libBugzilla_la_CPPFLAGS = $(XMLRPC_CPP_CFLAGS) $(XMLRPC_CLIENT_CPP_CFLAGS) $(NSS_CFLAGS) -I$(srcdir)/../CommLayer -I$(srcdir)/../../inc -I$(srcdir)/../MiddleWare -I$(srcdir)/../Utils +libBugzilla_la_CPPFLAGS = $(XMLRPC_CPP_CFLAGS) $(XMLRPC_CLIENT_CPP_CFLAGS) $(NSS_CFLAGS) -I$(srcdir)/../CommLayer -I$(srcdir)/../../inc -I$(srcdir)/../MiddleWare -I$(srcdir)/../Utils -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" # Python libPython_la_SOURCES = Python.h Python.cpp diff --git a/lib/Plugins/Python.h b/lib/Plugins/Python.h index 3c23e08b..62a43222 100644 --- a/lib/Plugins/Python.h +++ b/lib/Plugins/Python.h @@ -24,7 +24,8 @@ PLUGIN_INFO(ANALYZER, "0.0.1", "Simple Python analyzer plugin.", "zprikryl@redhat.com, jmoskovc@redhat.com", - "https://fedorahosted.org/abrt/wiki"); + "https://fedorahosted.org/abrt/wiki", + ""); #endif /* PYTHON_H_ */ diff --git a/lib/Plugins/RunApp.h b/lib/Plugins/RunApp.h index bbefc0a0..839992b0 100644 --- a/lib/Plugins/RunApp.h +++ b/lib/Plugins/RunApp.h @@ -45,6 +45,7 @@ PLUGIN_INFO(ACTION, "Simple action plugin which runs a command " "and it can save command's output", "zprikryl@redhat.com", - "https://fedorahosted.org/crash-catcher/wiki"); + "https://fedorahosted.org/abrt/wiki", + ""); #endif diff --git a/lib/Plugins/SOSreport.h b/lib/Plugins/SOSreport.h index f08cd8ce..d70494ad 100644 --- a/lib/Plugins/SOSreport.h +++ b/lib/Plugins/SOSreport.h @@ -44,6 +44,7 @@ PLUGIN_INFO(ACTION, "0.0.2", "Run sosreport, save the output in the crash dump", "gavin@redhat.com", - "https://fedorahosted.org/abrt/wiki"); + "https://fedorahosted.org/abrt/wiki", + ""); #endif diff --git a/lib/Plugins/SQLite3.h b/lib/Plugins/SQLite3.h index 2280f332..e283e3c0 100644 --- a/lib/Plugins/SQLite3.h +++ b/lib/Plugins/SQLite3.h @@ -67,6 +67,7 @@ PLUGIN_INFO(DATABASE, "0.0.1", "SQLite3 database plugin.", "zprikryl@redhat.com,jmoskovc@redhat.com", - "https://fedorahosted.org/crash-catcher/wiki"); + "https://fedorahosted.org/abrt/wiki", + ""); #endif /* SQLITE3_H_ */ -- cgit