plasma-workspace: align path to qdbus in startplasmacompositor
plasma-wayland starts now (but..) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -10,23 +10,41 @@ Upstream-Status: Inappropriate [configuration]
|
|||||||
|
|
||||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||||
---
|
---
|
||||||
startkde/startplasmacompositor.cmake | 3 +++
|
startkde/startplasmacompositor.cmake | 8 ++++----
|
||||||
1 file changed, 3 insertions(+)
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
diff --git a/startkde/startplasmacompositor.cmake b/startkde/startplasmacompositor.cmake
|
diff --git a/startkde/startplasmacompositor.cmake b/startkde/startplasmacompositor.cmake
|
||||||
index 8ac47aa..d29ce16 100644
|
index 8ac47aa..55a016a 100644
|
||||||
--- a/startkde/startplasmacompositor.cmake
|
--- a/startkde/startplasmacompositor.cmake
|
||||||
+++ b/startkde/startplasmacompositor.cmake
|
+++ b/startkde/startplasmacompositor.cmake
|
||||||
@@ -3,6 +3,9 @@
|
@@ -120,12 +120,12 @@ fi
|
||||||
# DEFAULT Plasma STARTUP SCRIPT ( @PROJECT_VERSION@ )
|
|
||||||
#
|
|
||||||
|
|
||||||
+# meta-qt5 specific
|
# Get a property value from org.freedesktop.locale1
|
||||||
+qdbus=@OE_QMAKE_PATH_QT_BINS@/qdbus
|
queryLocale1() {
|
||||||
+
|
- qdbus --system org.freedesktop.locale1 /org/freedesktop/locale1 "$1"
|
||||||
# We need to create config folder so we can write startupconfigkeys
|
+ @OE_QMAKE_PATH_QT_BINS@/qdbus --system org.freedesktop.locale1 /org/freedesktop/locale1 "$1"
|
||||||
if [ ${XDG_CONFIG_HOME} ]; then
|
}
|
||||||
configDir=$XDG_CONFIG_HOME;
|
|
||||||
|
# Query whether org.freedesktop.locale1 is available. If it is, try to
|
||||||
|
# set XKB_DEFAULT_{MODEL,LAYOUT,VARIANT,OPTIONS} accordingly.
|
||||||
|
-if qdbus --system org.freedesktop.locale1 >/dev/null 2>/dev/null; then
|
||||||
|
+if @OE_QMAKE_PATH_QT_BINS@/qdbus --system org.freedesktop.locale1 >/dev/null 2>/dev/null; then
|
||||||
|
# Do not overwrite existing values. There is no point in setting only some
|
||||||
|
# of them as then they would not match anymore.
|
||||||
|
if [ -z "${XKB_DEFAULT_MODEL}" -a -z "${XKB_DEFAULT_LAYOUT}" -a \
|
||||||
|
@@ -175,10 +175,10 @@ fi
|
||||||
|
export XDG_DATA_DIRS
|
||||||
|
|
||||||
|
# Make sure that D-Bus is running
|
||||||
|
-if qdbus >/dev/null 2>/dev/null; then
|
||||||
|
+if @OE_QMAKE_PATH_QT_BINS@/qdbus >/dev/null 2>/dev/null; then
|
||||||
|
: # ok
|
||||||
|
else
|
||||||
|
- echo 'startplasmacompositor: Could not start D-Bus. Can you call qdbus?' 1>&2
|
||||||
|
+ echo 'startplasmacompositor: Could not start D-Bus. Can you call @OE_QMAKE_PATH_QT_BINS@/qdbus?' 1>&2
|
||||||
|
test -n "$ksplash_pid" && kill "$ksplash_pid" 2>/dev/null
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
--
|
--
|
||||||
2.14.3
|
2.14.3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user