From 2ab4c72852e5f777a9a89973ce430945abaaeff1 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Sat, 25 May 2019 12:32:23 +0100 Subject: [PATCH] atvclient: used by macmini hw, should be other support in kernel now --- config/show_config | 1 - distributions/LibreELEC/options | 3 --- packages/sysutils/atvclient/package.mk | 11 ----------- .../atvclient-0.1-change_config_location-0.1.patch | 12 ------------ .../sysutils/atvclient/system.d/atvclient.service | 8 -------- .../sysutils/atvclient/tmpfiles.d/63_atvclient.conf | 4 ---- packages/sysutils/atvclient/udev.d/98-appleir.rules | 4 ---- packages/virtual/remote/package.mk | 4 ---- projects/Allwinner/options | 3 --- projects/RPi/options | 3 --- projects/Rockchip/options | 3 --- 11 files changed, 56 deletions(-) delete mode 100644 packages/sysutils/atvclient/package.mk delete mode 100644 packages/sysutils/atvclient/patches/atvclient-0.1-change_config_location-0.1.patch delete mode 100644 packages/sysutils/atvclient/system.d/atvclient.service delete mode 100644 packages/sysutils/atvclient/tmpfiles.d/63_atvclient.conf delete mode 100644 packages/sysutils/atvclient/udev.d/98-appleir.rules diff --git a/config/show_config b/config/show_config index dc18851a32..c8d27265ea 100644 --- a/config/show_config +++ b/config/show_config @@ -53,7 +53,6 @@ show_config() { config_message="$config_message\n $dashes$dashes" config_message="$config_message\n - Remote support:\t\t\t $REMOTE_SUPPORT" - config_message="$config_message\n - ATV Remote support:\t\t\t $ATVCLIENT_SUPPORT" config_message="$config_message\n - CEC Adapter support:\t\t\t $CEC_SUPPORT" config_message="$config_message\n - CEC Framework support:\t\t $CEC_FRAMEWORK_SUPPORT" config_message="$config_message\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT" diff --git a/distributions/LibreELEC/options b/distributions/LibreELEC/options index cb446938e4..59fe3e9798 100644 --- a/distributions/LibreELEC/options +++ b/distributions/LibreELEC/options @@ -140,9 +140,6 @@ # build and install remote support (yes / no) REMOTE_SUPPORT="yes" -# build and install ATV IR remote support (yes / no) - ATVCLIENT_SUPPORT="yes" - # build and install Joystick support (yes / no) JOYSTICK_SUPPORT="yes" diff --git a/packages/sysutils/atvclient/package.mk b/packages/sysutils/atvclient/package.mk deleted file mode 100644 index 4775f7d62d..0000000000 --- a/packages/sysutils/atvclient/package.mk +++ /dev/null @@ -1,11 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-or-later -# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) - -PKG_NAME="atvclient" -PKG_VERSION="0263b0a" -PKG_SHA256="9f741cf36655736ef578eaaca615fd9ce10e290f956cebcff3316d77152f0761" -PKG_LICENSE="GPL" -PKG_SITE="http://github.com/Evinyatar/atvclient/wiki" -PKG_URL="https://github.com/Evinyatar/atvclient/archive/$PKG_VERSION.tar.gz" -PKG_DEPENDS_TARGET="toolchain libusb-compat" -PKG_LONGDESC="A background application for Linux that reads input from the AppleTV’s internal infra-red receiver." diff --git a/packages/sysutils/atvclient/patches/atvclient-0.1-change_config_location-0.1.patch b/packages/sysutils/atvclient/patches/atvclient-0.1-change_config_location-0.1.patch deleted file mode 100644 index 439134eb76..0000000000 --- a/packages/sysutils/atvclient/patches/atvclient-0.1-change_config_location-0.1.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur atvclient-0.1/src/atvclient.cpp atvclient-0.1.patch/src/atvclient.cpp ---- atvclient-0.1/src/atvclient.cpp 2010-10-09 15:44:27.000000000 +0200 -+++ atvclient-0.1.patch/src/atvclient.cpp 2010-10-09 16:01:29.774444638 +0200 -@@ -161,7 +161,7 @@ - static CPacketNOTIFICATION remote_unpaired("Remote unpaired", "You can now control XBMC with any Apple remote.", NULL, NULL); - static CPacketNOTIFICATION remote_pair_failed("Remote already paired", "This AppleTV was paired to another remote. To unpair, hold down menu and rewind for 6 seconds.", NULL, NULL); - --const char* remoteIdFile = "/etc/atvremoteid"; -+const char* remoteIdFile = "/storage/.cache/atvremoteid"; - static int pairedRemoteId = 0; - - /* figure out kernel name corresponding to usb device */ diff --git a/packages/sysutils/atvclient/system.d/atvclient.service b/packages/sysutils/atvclient/system.d/atvclient.service deleted file mode 100644 index b67f76aa11..0000000000 --- a/packages/sysutils/atvclient/system.d/atvclient.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=ATV client remote support -After=syslog.target - -[Service] -ExecStart=/usr/sbin/atvclient -m -KillMode=process - diff --git a/packages/sysutils/atvclient/tmpfiles.d/63_atvclient.conf b/packages/sysutils/atvclient/tmpfiles.d/63_atvclient.conf deleted file mode 100644 index 747adb7d3e..0000000000 --- a/packages/sysutils/atvclient/tmpfiles.d/63_atvclient.conf +++ /dev/null @@ -1,4 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-or-later -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) - -d /storage/.cache 0755 root root - - diff --git a/packages/sysutils/atvclient/udev.d/98-appleir.rules b/packages/sysutils/atvclient/udev.d/98-appleir.rules deleted file mode 100644 index 420e7af0dc..0000000000 --- a/packages/sysutils/atvclient/udev.d/98-appleir.rules +++ /dev/null @@ -1,4 +0,0 @@ -ACTION=="add", SUBSYSTEM=="usb", \ - ATTR{idVendor}=="05ac", ATTR{idProduct}=="824[012]", \ - RUN+="wakeup_enable", \ - TAG+="systemd", ENV{SYSTEMD_WANTS}+="atvclient.service" diff --git a/packages/virtual/remote/package.mk b/packages/virtual/remote/package.mk index 02dbeaf47e..14aff9c3d0 100644 --- a/packages/virtual/remote/package.mk +++ b/packages/virtual/remote/package.mk @@ -10,7 +10,3 @@ PKG_URL="" PKG_DEPENDS_TARGET="toolchain eventlircd libirman v4l-utils" PKG_SECTION="virtual" PKG_LONGDESC="Meta package for installing various tools needed for remote support" - -if [ "$ATVCLIENT_SUPPORT" = "yes" ]; then - PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET atvclient" -fi diff --git a/projects/Allwinner/options b/projects/Allwinner/options index bc5690cb93..3e0aa6c8d8 100644 --- a/projects/Allwinner/options +++ b/projects/Allwinner/options @@ -77,9 +77,6 @@ # e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware" FIRMWARE="misc-firmware wlan-firmware dvb-firmware brcmfmac_sdio-firmware" - # build and install ATV IR remote support (yes / no) - ATVCLIENT_SUPPORT="no" - # build and install CEC framework support (yes / no) CEC_FRAMEWORK_SUPPORT="yes" diff --git a/projects/RPi/options b/projects/RPi/options index 172f569997..3713f2e866 100644 --- a/projects/RPi/options +++ b/projects/RPi/options @@ -111,9 +111,6 @@ # e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware" FIRMWARE="misc-firmware wlan-firmware dvb-firmware brcmfmac_sdio-firmware-rpi" - # build and install ATV IR remote support (yes / no) - ATVCLIENT_SUPPORT="no" - # build with installer (yes / no) INSTALLER_SUPPORT="no" diff --git a/projects/Rockchip/options b/projects/Rockchip/options index 4d9e18fab6..409645769a 100644 --- a/projects/Rockchip/options +++ b/projects/Rockchip/options @@ -66,9 +66,6 @@ # additional packages to install ADDITIONAL_PACKAGES="dtc" - # build and install ATV IR remote support (yes / no) - ATVCLIENT_SUPPORT="no" - # build and install CEC framework support (yes / no) CEC_FRAMEWORK_SUPPORT="yes"