From 8598b22e101201de4d06ea48f2b500f81f2b30d5 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Tue, 14 Dec 2010 13:56:07 +0100 Subject: a stub for report-python --- src/report-python/Makefile.am | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/report-python/Makefile.am (limited to 'src/report-python/Makefile.am') diff --git a/src/report-python/Makefile.am b/src/report-python/Makefile.am new file mode 100644 index 00000000..34ec090c --- /dev/null +++ b/src/report-python/Makefile.am @@ -0,0 +1,25 @@ +pyreportexecdir = $(pyexecdir)/report + +pyreportexec_PYTHON = __init__.py + +pyreportexec_LTLIBRARIES = _pyreport.la + +_pyreport_la_SOURCES = \ + reportmodule.c crash_dump.c py_crash_dump.h pyreport_common.h +_pyreport_la_CPPFLAGS = \ + -I$(srcdir)/../include/report -I$(srcdir)/../include \ + -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ + -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \ + -DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \ + -DLOCALSTATEDIR='"$(localstatedir)"' \ + -DCONF_DIR=\"$(CONF_DIR)\" \ + -DVAR_RUN=\"$(VAR_RUN)\" \ + $(GLIB_CFLAGS) \ + $(PYTHON_CFLAGS) \ + -D_GNU_SOURCE +_pyreport_la_LDFLAGS = \ + -module \ + -avoid-version \ + -export-symbols-regex init_pyreport +_pyreport_la_LIBADD = \ + ../lib/libreport.la -- cgit From b1f4a3256004e8f12c15511d2b77074a3002b9f2 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 14 Dec 2010 17:17:07 +0100 Subject: jury-rig compile for python2.6; small style fixes Signed-off-by: Denys Vlasenko --- src/report-python/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/report-python/Makefile.am') diff --git a/src/report-python/Makefile.am b/src/report-python/Makefile.am index 34ec090c..9c7e86d7 100644 --- a/src/report-python/Makefile.am +++ b/src/report-python/Makefile.am @@ -5,7 +5,9 @@ pyreportexec_PYTHON = __init__.py pyreportexec_LTLIBRARIES = _pyreport.la _pyreport_la_SOURCES = \ - reportmodule.c crash_dump.c py_crash_dump.h pyreport_common.h + reportmodule.c \ + crash_dump.c py_crash_dump.h \ + pyreport_common.h _pyreport_la_CPPFLAGS = \ -I$(srcdir)/../include/report -I$(srcdir)/../include \ -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ @@ -16,7 +18,8 @@ _pyreport_la_CPPFLAGS = \ -DVAR_RUN=\"$(VAR_RUN)\" \ $(GLIB_CFLAGS) \ $(PYTHON_CFLAGS) \ - -D_GNU_SOURCE + -D_GNU_SOURCE \ + -Wall -Werror _pyreport_la_LDFLAGS = \ -module \ -avoid-version \ -- cgit From 2fa1f3ac7f960e4bf306e53c1aac06fe0e31a4ba Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 15 Dec 2010 06:15:27 +0100 Subject: simplify python wrapper code Signed-off-by: Denys Vlasenko --- src/report-python/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/report-python/Makefile.am') diff --git a/src/report-python/Makefile.am b/src/report-python/Makefile.am index 9c7e86d7..75d0c1d8 100644 --- a/src/report-python/Makefile.am +++ b/src/report-python/Makefile.am @@ -6,8 +6,8 @@ pyreportexec_LTLIBRARIES = _pyreport.la _pyreport_la_SOURCES = \ reportmodule.c \ - crash_dump.c py_crash_dump.h \ - pyreport_common.h + crash_dump.c \ + common.h _pyreport_la_CPPFLAGS = \ -I$(srcdir)/../include/report -I$(srcdir)/../include \ -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ -- cgit From 544804d5e19cd8890c069273bd93801689e6f8e7 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 15 Dec 2010 06:18:07 +0100 Subject: python wrappers: add dump_dir wrapper Signed-off-by: Denys Vlasenko --- src/report-python/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/report-python/Makefile.am') diff --git a/src/report-python/Makefile.am b/src/report-python/Makefile.am index 75d0c1d8..650ae45b 100644 --- a/src/report-python/Makefile.am +++ b/src/report-python/Makefile.am @@ -7,6 +7,7 @@ pyreportexec_LTLIBRARIES = _pyreport.la _pyreport_la_SOURCES = \ reportmodule.c \ crash_dump.c \ + dump_dir.c \ common.h _pyreport_la_CPPFLAGS = \ -I$(srcdir)/../include/report -I$(srcdir)/../include \ -- cgit From 93d5d8a317ec9294bbd6dcc6bd8baec0c2b63b1b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 16 Dec 2010 13:15:37 +0100 Subject: report-python/run_event.c: python wrappers for run_event.h API Signed-off-by: Denys Vlasenko --- src/report-python/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/report-python/Makefile.am') diff --git a/src/report-python/Makefile.am b/src/report-python/Makefile.am index 650ae45b..1c4d55ec 100644 --- a/src/report-python/Makefile.am +++ b/src/report-python/Makefile.am @@ -8,6 +8,7 @@ _pyreport_la_SOURCES = \ reportmodule.c \ crash_dump.c \ dump_dir.c \ + run_event.c \ common.h _pyreport_la_CPPFLAGS = \ -I$(srcdir)/../include/report -I$(srcdir)/../include \ -- cgit From c96bab437f21aea116bfe5608bb43c9cd26fb904 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 21 Dec 2010 19:25:05 +0100 Subject: src/report-python: add report package compatibility Signed-off-by: Denys Vlasenko --- src/report-python/Makefile.am | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/report-python/Makefile.am') diff --git a/src/report-python/Makefile.am b/src/report-python/Makefile.am index 1c4d55ec..c92bbaa6 100644 --- a/src/report-python/Makefile.am +++ b/src/report-python/Makefile.am @@ -1,6 +1,8 @@ pyreportexecdir = $(pyexecdir)/report -pyreportexec_PYTHON = __init__.py +pyreportexec_PYTHON = \ + __init__.py \ + accountmanager.py pyreportexec_LTLIBRARIES = _pyreport.la @@ -28,3 +30,13 @@ _pyreport_la_LDFLAGS = \ -export-symbols-regex init_pyreport _pyreport_la_LIBADD = \ ../lib/libreport.la + +# report compat: + +pyreportioexecdir = $(pyexecdir)/report/io + +pyreportioexec_PYTHON = \ + io/__init__.py \ + io/GTKIO.py \ + io/NewtIO.py \ + io/TextIO.py -- cgit From df1b1d501106687fcf0039dc9771c4455c346df5 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 22 Dec 2010 13:57:14 +0100 Subject: *: rename *crash_dump.* -> *crash_data.* Signed-off-by: Denys Vlasenko --- src/report-python/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/report-python/Makefile.am') diff --git a/src/report-python/Makefile.am b/src/report-python/Makefile.am index c92bbaa6..a00e2d7b 100644 --- a/src/report-python/Makefile.am +++ b/src/report-python/Makefile.am @@ -8,7 +8,7 @@ pyreportexec_LTLIBRARIES = _pyreport.la _pyreport_la_SOURCES = \ reportmodule.c \ - crash_dump.c \ + crash_data.c \ dump_dir.c \ run_event.c \ common.h -- cgit