|
|
10661d |
From d5c53fefd25ef90ece1d3481c9af1552d458eb97 Mon Sep 17 00:00:00 2001
|
|
|
10661d |
From: Martin Kutlak <mkutlak@redhat.com>
|
|
|
10661d |
Date: Tue, 25 Sep 2018 13:28:24 +0200
|
|
|
10661d |
Subject: [PATCH] dbus: Add configuration for Python3
|
|
|
10661d |
|
|
|
10661d |
abrt-dbus misses a configuration file for Python3 and it instead includes Python2 configuration.
|
|
|
10661d |
|
|
|
10661d |
Related: #1652676
|
|
|
10661d |
|
|
|
10661d |
Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
|
|
|
10661d |
---
|
|
|
10661d |
doc/dbus-configuration/Makefile.am | 11 ++++++++++-
|
|
|
10661d |
.../com.redhat.problems.configuration.python3.xml.in | 11 +++++++++++
|
|
|
10661d |
3 files changed, 26 insertions(+), 1 deletion(-)
|
|
|
10661d |
create mode 100644 doc/dbus-configuration/com.redhat.problems.configuration.python3.xml.in
|
|
|
10661d |
|
|
|
10661d |
diff --git a/doc/dbus-configuration/Makefile.am b/doc/dbus-configuration/Makefile.am
|
|
|
10661d |
index 889713943..a02706de9 100644
|
|
|
10661d |
--- a/doc/dbus-configuration/Makefile.am
|
|
|
10661d |
+++ b/doc/dbus-configuration/Makefile.am
|
|
|
10661d |
@@ -9,9 +9,18 @@ dist_dbusabrtinterfaces_DATA = \
|
|
|
10661d |
com.redhat.problems.configuration.abrt.xml \
|
|
|
10661d |
com.redhat.problems.configuration.ccpp.xml \
|
|
|
10661d |
com.redhat.problems.configuration.oops.xml \
|
|
|
10661d |
- com.redhat.problems.configuration.python.xml \
|
|
|
10661d |
com.redhat.problems.configuration.xorg.xml
|
|
|
10661d |
|
|
|
10661d |
+if BUILD_PYTHON2
|
|
|
10661d |
+dist_dbusabrtinterfaces_DATA += \
|
|
|
10661d |
+ com.redhat.problems.configuration.python.xml
|
|
|
10661d |
+endif
|
|
|
10661d |
+
|
|
|
10661d |
+if BUILD_PYTHON3
|
|
|
10661d |
+dist_dbusabrtinterfaces_DATA += \
|
|
|
10661d |
+ com.redhat.problems.configuration.python3.xml
|
|
|
10661d |
+endif
|
|
|
10661d |
+
|
|
|
10661d |
if BUILD_ADDON_VMCORE
|
|
|
10661d |
dist_dbusabrtinterfaces_DATA += \
|
|
|
10661d |
com.redhat.problems.configuration.vmcore.xml
|
|
|
10661d |
diff --git a/doc/dbus-configuration/com.redhat.problems.configuration.python3.xml.in b/doc/dbus-configuration/com.redhat.problems.configuration.python3.xml.in
|
|
|
10661d |
new file mode 100644
|
|
|
10661d |
index 000000000..68b6760b2
|
|
|
10661d |
--- /dev/null
|
|
|
10661d |
+++ b/doc/dbus-configuration/com.redhat.problems.configuration.python3.xml.in
|
|
|
10661d |
@@ -0,0 +1,11 @@
|
|
|
10661d |
+
|
|
|
10661d |
+ "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
|
|
10661d |
+
|
|
|
10661d |
+<node name="/com/redhat/problems/configuration/python3">
|
|
|
10661d |
+ <annotation name="com.redhat.problems.ConfFile" value="/etc/abrt/plugins/python3.conf" />
|
|
|
10661d |
+ <annotation name="com.redhat.problems.DefaultConfFile" value="/usr/share/abrt/conf.d/plugins/python3.conf" />
|
|
|
10661d |
+
|
|
|
10661d |
+ <interface name="com.redhat.problems.configuration.python3">
|
|
|
10661d |
+ <property name="RequireAbsolutePath" type="b" access="readwrite" />
|
|
|
10661d |
+ </interface>
|
|
|
10661d |
+</node>
|
|
|
10661d |
--
|
|
|
10661d |
2.17.2
|
|
|
10661d |
|