mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
dispmanx_vnc: remove addon
RPi graphic stack no longer use dispmanx Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
2429774f9a
commit
704b5d2d48
@ -1,20 +0,0 @@
|
||||
106
|
||||
- Fix versioning
|
||||
|
||||
105
|
||||
- Update to 5bde54b
|
||||
|
||||
104
|
||||
- Force build against systemd
|
||||
|
||||
103
|
||||
- Update to 77b33a6
|
||||
|
||||
102
|
||||
- Build with Linux 4.7 RPi libraries
|
||||
|
||||
101
|
||||
- Move settings to Kodi
|
||||
|
||||
100
|
||||
- Initial addon
|
Binary file not shown.
Before Width: | Height: | Size: 25 KiB |
@ -1,35 +1,26 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="dispmanx_vnc"
|
||||
PKG_VERSION="5bde54b5a43a2e6f65994f3b9c665db90c45923f"
|
||||
PKG_SHA256="1f096cd70d86620596db947757486064fe37dc2766ad33530318c35b279472aa"
|
||||
PKG_VERSION_DATE="2018-08-18"
|
||||
PKG_REV="106"
|
||||
PKG_VERSION="1.0"
|
||||
PKG_REV="100"
|
||||
PKG_ARCH="arm"
|
||||
PKG_ADDON_PROJECTS="RPi"
|
||||
PKG_LICENSE="OSS"
|
||||
PKG_SITE="https://github.com/patrikolausson/dispmanx_vnc"
|
||||
PKG_URL="https://github.com/patrikolausson/dispmanx_vnc/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libvncserver bcm2835-bootloader bcm2835-driver libconfig openssl"
|
||||
PKG_SITE=""
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="service/system"
|
||||
PKG_SHORTDESC="Raspberry Pi VNC: a Virtual Network Computing server for Raspberry Pi"
|
||||
PKG_LONGDESC="Raspberry Pi VNC ($PKG_VERSION_DATE) is a Virtual Network Computing (VNC) server for Raspberry Pi using dispmanx"
|
||||
PKG_SHORTDESC="Addon removed"
|
||||
PKG_LONGDESC="Addon removed"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
PKG_ADDON_BROKEN="Raspberry Pi VNC was removed."
|
||||
|
||||
PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="Raspberry Pi VNC"
|
||||
PKG_ADDON_TYPE="xbmc.service"
|
||||
PKG_MAINTAINER="Anton Voyl (awiouy)"
|
||||
|
||||
pre_make_target() {
|
||||
export SYSROOT_PREFIX
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
:
|
||||
}
|
||||
PKG_ADDON_TYPE="xbmc.broken"
|
||||
|
||||
addon() {
|
||||
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
cp -p $PKG_BUILD/dispmanx_vncserver $ADDON_BUILD/$PKG_ADDON_ID/bin
|
||||
:
|
||||
}
|
||||
|
@ -1,20 +0,0 @@
|
||||
diff -Naur a/Makefile b/Makefile
|
||||
--- a/Makefile 2016-01-22 20:52:21.000000000 +0100
|
||||
+++ b/Makefile 2016-01-22 21:29:34.601124600 +0100
|
||||
@@ -1,9 +1,11 @@
|
||||
-CXX = g++
|
||||
-CXXFLAGS = -Wall -std=c++11 -O3 -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM
|
||||
+CXX ?= g++
|
||||
+CXXFLAGS += -Wall -std=c++11 -O3 -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM
|
||||
|
||||
-INCLUDES = -I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux
|
||||
-LIB_PATHS = -L/opt/vc/lib/
|
||||
-LIBS = -lGLESv2 -lEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt -lvncserver -lconfig++
|
||||
+SYSROOT_PREFIX ?=
|
||||
+
|
||||
+INCLUDES = -I$(SYSROOT_PREFIX)/usr/include/ -I$(SYSROOT_PREFIX)/usr/include/interface/vcos/pthreads -I$(SYSROOT_PREFIX)/usr/include/interface/vmcs_host/linux
|
||||
+LIB_PATHS = -L$(SYSROOT_PREFIX)/usr/lib/
|
||||
+LIBS = -lbrcmGLESv2 -lbrcmEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt -lconfig++ -lz -lssl -lcrypto -lresolv -lvncserver -ljpeg -lpng16 -lsystemd
|
||||
|
||||
SOURCES = main.cpp \
|
||||
UFile.cpp \
|
@ -1,42 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
. /etc/profile
|
||||
oe_setup_addon service.system.dispmanx_vnc
|
||||
|
||||
if [ -f "$ADDON_HOME/dispmanx_vncserver.conf" ]; then
|
||||
rm "$ADDON_HOME/dispmanx_vncserver.conf"
|
||||
fi
|
||||
|
||||
options="-p $vnc_port -s $vnc_screen -t $vnc_framerate"
|
||||
if [ "$vnc_relative" == "true" ]
|
||||
then
|
||||
options="$options -r"
|
||||
else
|
||||
options="$options -a"
|
||||
fi
|
||||
if [ "$vnc_unsafe" == "true" ]
|
||||
then
|
||||
options="$options -u"
|
||||
fi
|
||||
if [ "$vnc_fullscreen" == "true" ]
|
||||
then
|
||||
options="$options -f"
|
||||
fi
|
||||
if [ "$vnc_multithreaded" == "true" ]
|
||||
then
|
||||
options="$options -m"
|
||||
fi
|
||||
if [ ! -z "$vnc_password" ]
|
||||
then
|
||||
options="$options -P $vnc_password"
|
||||
fi
|
||||
if [ "$vnc_downscale" == "true" ]
|
||||
then
|
||||
options="$options -d"
|
||||
fi
|
||||
|
||||
#/bin/sleep 10
|
||||
dispmanx_vncserver $options
|
@ -1,21 +0,0 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
import subprocess
|
||||
import xbmc
|
||||
import xbmcaddon
|
||||
|
||||
|
||||
class Monitor(xbmc.Monitor):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
xbmc.Monitor.__init__(self)
|
||||
self.id = xbmcaddon.Addon().getAddonInfo('id')
|
||||
|
||||
def onSettingsChanged(self):
|
||||
subprocess.call(['systemctl', 'restart', self.id])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
Monitor().waitForAbort()
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Kodi Media Center language file
|
||||
# Addon Name: dispmanx_vnc
|
||||
# Addon id: service.system.dispmanx_vnc
|
||||
# Addon Provider: awiouy at gmail dot com
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30000"
|
||||
msgid "Configuration"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30001"
|
||||
msgid "relative"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30002"
|
||||
msgid "port"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30003"
|
||||
msgid "screen"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30004"
|
||||
msgid "unsafe"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30005"
|
||||
msgid "fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30006"
|
||||
msgid "multi-threaded"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30007"
|
||||
msgid "password"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30008"
|
||||
msgid "frame-rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30009"
|
||||
msgid "downscale"
|
||||
msgstr ""
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<settings>
|
||||
<category label="30000">
|
||||
<setting label="30001" id="vnc_relative" type="bool" default="false" />
|
||||
<setting label="30002" id="vnc_port" type="number" default="5900" />
|
||||
<setting label="30003" id="vnc_screen" type="number" default="0" />
|
||||
<setting label="30004" id="vnc_unsafe" type="bool" default="false" />
|
||||
<setting label="30005" id="vnc_fullscreen" type="bool" default="false" />
|
||||
<setting label="30006" id="vnc_multithreaded" type="bool" default="false" />
|
||||
<setting label="30007" id="vnc_password" type="text" option="hidden" />
|
||||
<setting label="30008" id="vnc_framerate" type="number" default="15" />
|
||||
<setting label="30009" id="vnc_downscale" type="bool" default="false" />
|
||||
</category>
|
||||
</settings>
|
@ -1,11 +0,0 @@
|
||||
<settings>
|
||||
<setting id="vnc_downscale" value="false" />
|
||||
<setting id="vnc_framerate" value="15" />
|
||||
<setting id="vnc_fullscreen" value="false" />
|
||||
<setting id="vnc_multithreaded" value="false" />
|
||||
<setting id="vnc_password" value="" />
|
||||
<setting id="vnc_port" value="5900" />
|
||||
<setting id="vnc_relative" value="false" />
|
||||
<setting id="vnc_screen" value="0" />
|
||||
<setting id="vnc_unsafe" value="false" />
|
||||
</settings>
|
@ -1,13 +0,0 @@
|
||||
[Unit]
|
||||
Description=dispmanx_vnc
|
||||
After=kodi.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/sh /storage/.kodi/addons/service.system.dispmanx_vnc/bin/dispmanx_vncserver-service
|
||||
TimeoutStopSec=1
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
StartLimitInterval=0
|
||||
|
||||
[Install]
|
||||
WantedBy=kodi.target
|
Loading…
x
Reference in New Issue
Block a user