mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
Rename share/dbus-1 to etc/dbus-1 to not mix it up with data/shared
refs #615
This commit is contained in:
@@ -35,18 +35,13 @@
|
||||
<allow own="*"/>
|
||||
</policy>
|
||||
|
||||
<!-- Include legacy configuration location -->
|
||||
<include ignore_missing="yes">../../etc/dbus-1/session.conf</include>
|
||||
|
||||
<!-- Config files are placed here that among other things,
|
||||
further restrict the above policy for specific services. -->
|
||||
<includedir>session.d</includedir>
|
||||
|
||||
<includedir>../../etc/dbus-1/session.d</includedir>
|
||||
|
||||
<!-- This is included last so local configuration can override what's
|
||||
in this standard file -->
|
||||
<include ignore_missing="yes">../../etc/dbus-1/session-local.conf</include>
|
||||
<include ignore_missing="yes">session-local.conf</include>
|
||||
|
||||
<include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>
|
||||
|
||||
14
install.pri
14
install.pri
@@ -90,9 +90,9 @@ win32-g++ {
|
||||
DBUS_LIBRARIES *= libdbus-1-3.dll
|
||||
dbus_library_target.path = $${PREFIX}/bin
|
||||
|
||||
DBUS_CONFIG_SOURCE_DIR = $$[QT_INSTALL_BINS]/..
|
||||
DBUS_CONFIG_FILES *= share/dbus-1/*
|
||||
dbus_config_target.path = $${PREFIX}/share/dbus-1
|
||||
DBUS_CONFIG_SOURCE_DIR = $$SourceRoot
|
||||
DBUS_CONFIG_FILES *= etc/dbus-1/*
|
||||
dbus_config_target.path = $${PREFIX}/etc/dbus-1
|
||||
}
|
||||
|
||||
win32-msvc2015 {
|
||||
@@ -105,9 +105,9 @@ win32-msvc2015 {
|
||||
DBUS_LIBRARIES *= dbus-1-3.dll
|
||||
dbus_library_target.path = $${PREFIX}/bin
|
||||
|
||||
DBUS_CONFIG_SOURCE_DIR = $$[QT_INSTALL_BINS]/..
|
||||
DBUS_CONFIG_FILES *= share/dbus-1/*
|
||||
dbus_config_target.path = $${PREFIX}/share/dbus-1
|
||||
DBUS_CONFIG_SOURCE_DIR = $$SourceRoot
|
||||
DBUS_CONFIG_FILES *= etc/dbus-1/*
|
||||
dbus_config_target.path = $${PREFIX}/etc/dbus-1
|
||||
}
|
||||
|
||||
macx {
|
||||
@@ -122,7 +122,7 @@ macx {
|
||||
DBUS_CONFIG_SOURCE_DIR = /usr/local/share/dbus-1
|
||||
DBUS_CONFIG_FILES *= session.conf
|
||||
DBUS_CONFIG_FILES *= system.conf
|
||||
dbus_config_target.path = $${PREFIX}/share/dbus-1
|
||||
dbus_config_target.path = $${PREFIX}/etc/dbus-1
|
||||
}
|
||||
|
||||
for (BINARY, DBUS_BINARIES) {
|
||||
|
||||
@@ -67,13 +67,13 @@
|
||||
</distributionFileList>
|
||||
</folder>
|
||||
<folder>
|
||||
<description>share</description>
|
||||
<description>etc</description>
|
||||
<destination>${installdir}/</destination>
|
||||
<name>share</name>
|
||||
<name>etc</name>
|
||||
<platforms>windows</platforms>
|
||||
<distributionFileList>
|
||||
<distributionDirectory>
|
||||
<origin>../../dist/share</origin>
|
||||
<origin>../../dist/etc</origin>
|
||||
</distributionDirectory>
|
||||
</distributionFileList>
|
||||
</folder>
|
||||
|
||||
@@ -102,7 +102,7 @@ namespace BlackMisc
|
||||
void CDBusServer::launchDBusDaemon()
|
||||
{
|
||||
const QString program = QStringLiteral("dbus-daemon");
|
||||
const QStringList arguments = { QStringLiteral("--config-file=../share/dbus-1/session.conf") };
|
||||
const QStringList arguments = { QStringLiteral("--config-file=../etc/dbus-1/session.conf") };
|
||||
bool success = QProcess::startDetached(program, arguments);
|
||||
if (!success) { CLogMessage(this).error("Failed to launch dbus-daemon!"); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user