Compare commits

...

2 Commits

Author SHA1 Message Date
j1nx 27c960d4bb Quick fixes for the dashboard to start 2023-01-12 19:33:43 +01:00
j1nx b007be7615 Add vnc-eglfs package for testing purposes 2023-01-12 12:30:32 +01:00
8 changed files with 87 additions and 5 deletions

View File

@ -119,6 +119,7 @@ endmenu
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/tensorflow-lite/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/userland-tools/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/virtual-touch/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/vnc-eglfs/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/vocalfusion/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/vosk-api/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/whisper-tflite/Config.in"

View File

@ -600,6 +600,7 @@ BR2_PACKAGE_SNAPCAST_SERVER=y
BR2_PACKAGE_SPOTIFYD=y
BR2_PACKAGE_TENSORFLOW_LITE=y
BR2_PACKAGE_USERLAND_TOOLS=y
BR2_PACKAGE_VNC_EGLFS=y
BR2_PACKAGE_VOCALFUSION=y
BR2_PACKAGE_WHISPER_TFLITE=y
BR2_PACKAGE_WHISPERCPP=y

View File

@ -600,6 +600,7 @@ BR2_PACKAGE_SNAPCAST_SERVER=y
BR2_PACKAGE_SPOTIFYD=y
BR2_PACKAGE_TENSORFLOW_LITE=y
BR2_PACKAGE_USERLAND_TOOLS=y
BR2_PACKAGE_VNC_EGLFS=y
BR2_PACKAGE_VOCALFUSION=y
BR2_PACKAGE_WHISPER_TFLITE=y
BR2_PACKAGE_WHISPERCPP=y

View File

@ -0,0 +1,22 @@
From 82809d49faf5a04dcba60dd64ebf7c7878553274 Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
Date: Thu, 12 Jan 2023 19:32:03 +0100
Subject: [PATCH 1/1] Run on port 5005
---
app.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app.py b/app.py
index 32525dc..4da3e4e 100644
--- a/app.py
+++ b/app.py
@@ -294,4 +294,4 @@ def control_myc():
if __name__ == "__main__":
# app.run(debug=True)
SimpleLogin(app)
- socketio.run(app, host="0.0.0.0", debug=True)
+ socketio.run(app, host="0.0.0.0", port=5005, debug=True)
--
2.34.1

View File

@ -1,11 +1,8 @@
[Unit]
Description=OVOS Dashboard Service
After=network.target
Requires=dbus.socket
[Service]
Type=dbus
BusName=com.openvoiceos.ovos-dashboard
Type=simple
Environment=SIMPLELOGIN_USERNAME="OVOS"
Environment=SIMPLELOGIN_PASSWORD=%i
Environment=MYCROFT_SKILLS_LOCATION=%h/.local/share/mycroft/skills/
@ -14,4 +11,4 @@ ExecStart=python /usr/local/share/ovos-dashboard/app.py --serve-in-foreground
Restart=always
[Install]
WantedBy=multi-user.target
WantedBy=default.target

View File

@ -0,0 +1,43 @@
From eb8b398864b7ffef315bcd67b26ccf47499537c4 Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
Date: Thu, 12 Jan 2023 12:21:39 +0100
Subject: [PATCH 1/1] Use QT_INSTALL_PREFIX
---
platformproxy/platformproxy.pro | 4 ++--
src/src.pro | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/platformproxy/platformproxy.pro b/platformproxy/platformproxy.pro
index ef24e8d..464fec2 100644
--- a/platformproxy/platformproxy.pro
+++ b/platformproxy/platformproxy.pro
@@ -30,8 +30,8 @@ SOURCES += \
OTHER_FILES += metadata.json
-INSTALL_ROOT=/usr/local/vnceglfs
-# INSTALL_ROOT=$$[QT_INSTALL_PREFIX]
+# INSTALL_ROOT=/usr/local/vnceglfs
+INSTALL_ROOT=$$[QT_INSTALL_PREFIX]
target.path = $${INSTALL_ROOT}/plugins/platforms
INSTALLS += target
diff --git a/src/src.pro b/src/src.pro
index 29e5fad..4c71645 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -61,8 +61,8 @@ SOURCES += \
VncClient.cpp \
VncNamespace.cpp \
-INSTALL_ROOT=/usr/local/vnceglfs
-# INSTALL_ROOT=$$[QT_INSTALL_PREFIX]
+# INSTALL_ROOT=/usr/local/vnceglfs
+INSTALL_ROOT=$$[QT_INSTALL_PREFIX]
target.path = $${INSTALL_ROOT}/lib
--
2.34.1

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_VNC_EGLFS
bool "vnc-eglfs"
help
VNC server for Qt/Quick on EGLFS
https://github.com/uwerat/vnc-eglfs

View File

@ -0,0 +1,11 @@
################################################################################
#
# vnc-eglfs
#
################################################################################
VNC_EGLFS_VERSION = e67ac4431f19e2863abedbbfa1ba76a00fe1ca92
VNC_EGLFS_SITE = $(call github,uwerat,vnc-eglfs,$(VNC_EGLFS_VERSION))
VNC_EGLFS_INSTALL_STAGING = YES
$(eval $(qmake-package))