plasma-mobile: launch dbus session before kwin (!183)

Otherwise kwin can't register it's services.
This commit is contained in:
Bhushan Shah 2019-01-29 12:18:50 +05:30 committed by Oliver Smith
parent e04192baf3
commit 5b25a32861
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-ui-plasma-mobile
pkgver=1
pkgrel=24
pkgrel=25
pkgdesc="(Wayland) Mobile variant of KDE Plasma, optimized for touchscreen (slow without hardware acceleration!)"
url="https://wiki.postmarketos.org/wiki/Plasma_Mobile"
arch="noarch"
@ -33,7 +33,7 @@ package() {
install -D -m644 "$srcdir"/org.kde.phone.homescreen.js \
"$pkgdir"/usr/share/plasma/look-and-feel/org.kde.plasma.phone/contents/plasmoidsetupscripts/org.kde.phone.homescreen.js
}
sha512sums="d92ee757d418e0bd1cea0baf4de577fb9fbd28da157fdb7829c4be96014beefb2c20516fdc507b68b52276522b771d5f6601ed3124bf334f51d993275289d42f start_plasma.sh
sha512sums="d20af733322bb34844c00e85deb541d6c3799cf4c4eb6743be44b18be69ed5db2ea97795e64b683534060e60581685fdf5cb7cd07afffa74d5b08bd23bdcf0ab start_plasma.sh
a95d3bbd1e8051c9b394ad7a26e4beb2d1be8d3c38189819da61fd42b1c7fd3948c4737bc9246eee23eaf5fd9451cd6362fb06442f3d8f967f930d3bcc5cfbe9 kwinrc
8eb0a095cd6e8cf693af212d57c0b99c74f39636d8f4f391561197ec662a7ca4dd5648aa74bb8ac5f088d8baf2bde976567c333f98db708e19f6ed7839d6b6fe kdeglobals
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini

View file

@ -21,7 +21,7 @@ if test -z "${XDG_RUNTIME_DIR}"; then
sleep 2
if [ -d "/dev/dri" ]; then
ck-launch-session kwin_wayland --drm --xwayland plasma-phone 2>&1 | logger -t "$(whoami):plasma-mobile"
dbus-run-session ck-launch-session kwin_wayland --drm --xwayland plasma-phone 2>&1 | logger -t "$(whoami):plasma-mobile"
else
# NOTE: using GALLIUM_DRIVER=llvmpipe might give you better performance (or not work at all.)
# If it does give you a performance gain, please open an issue to discuss how to implement this properly.
@ -30,7 +30,7 @@ if test -z "${XDG_RUNTIME_DIR}"; then
export LIBGL_ALWAYS_SOFTWARE=1
echo "start_plasma.sh: using software rendering with: ${GALLIUM_DRIVER}" | logger -t "$(whoami):plasma-mobile"
ck-launch-session kwin_wayland --framebuffer --xwayland plasma-phone 2>&1 | logger -t "$(whoami):plasma-mobile"
dbus-run-session ck-launch-session kwin_wayland --framebuffer --xwayland plasma-phone 2>&1 | logger -t "$(whoami):plasma-mobile"
fi
fi
fi