mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
irserver: remove package
This commit is contained in:
parent
a946329033
commit
4ede5234e1
@ -374,7 +374,6 @@ show_config() {
|
|||||||
config_message="$config_message\n - Remote support:\t\t\t $REMOTE_SUPPORT"
|
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 - 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 Adapter support:\t\t\t $CEC_SUPPORT"
|
||||||
config_message="$config_message\n - IRTrans support:\t\t\t $IRSERVER_SUPPORT"
|
|
||||||
config_message="$config_message\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
|
config_message="$config_message\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
|
||||||
|
|
||||||
# Misc. hardware configuration
|
# Misc. hardware configuration
|
||||||
|
@ -144,9 +144,6 @@
|
|||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="yes"
|
ATVCLIENT_SUPPORT="yes"
|
||||||
|
|
||||||
# build and install IRServer IR/LCD support (yes / no)
|
|
||||||
IRSERVER_SUPPORT="yes"
|
|
||||||
|
|
||||||
# build and install Joystick support (yes / no)
|
# build and install Joystick support (yes / no)
|
||||||
JOYSTICK_SUPPORT="yes"
|
JOYSTICK_SUPPORT="yes"
|
||||||
|
|
||||||
|
@ -42,10 +42,6 @@ if [ ! -f $HOME/.kodi/userdata/guisettings.xml ] ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e /run/lirc/lircd.irtrans ]; then
|
KODI_ARGS="--lircdev /run/lirc/lircd"
|
||||||
KODI_ARGS="--lircdev /run/lirc/lircd.irtrans"
|
|
||||||
else
|
|
||||||
KODI_ARGS="--lircdev /run/lirc/lircd"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "KODI_ARGS=\"$KODI_ARGS\"" > /run/libreelec/kodi.conf
|
echo "KODI_ARGS=\"$KODI_ARGS\"" > /run/libreelec/kodi.conf
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# OpenELEC is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenELEC is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
# remote.conf
|
|
||||||
|
|
||||||
# This configuration file lets you setup remote control access for your
|
|
||||||
# system
|
|
||||||
# Options are "none" / "lirc" / "irtrans"
|
|
||||||
|
|
||||||
# none: No remote control hardware is installed
|
|
||||||
# lirc: Use lirc as remote control backend (default)
|
|
||||||
# irtrans: Use irtrans as remote control backend
|
|
||||||
|
|
||||||
REMOTE_BACKEND="lirc"
|
|
@ -1,36 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Copyright (C) 2009-2010 OpenELEC.tv
|
|
||||||
# http://www.openelec.tv
|
|
||||||
#
|
|
||||||
# OpenELEC is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenELEC is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# start the IRtrans daemon
|
|
||||||
#
|
|
||||||
# runlevels: openelec, textmode
|
|
||||||
|
|
||||||
[ -f /storage/.config/remote.conf ] && . /storage/.config/remote.conf
|
|
||||||
[ -f /storage/.config/lcd.conf ] && . /storage/.config/lcd.conf
|
|
||||||
|
|
||||||
if [ "$REMOTE_BACKEND" = "irtrans" -o "$LCD_DRIVER" = "irtrans" ]; then
|
|
||||||
|
|
||||||
progress "Starting IRtrans daemon"
|
|
||||||
|
|
||||||
[ "$DEBUG" = "yes" ] && \
|
|
||||||
IRSERVER_ARG="$IRSERVER_ARG -loglevel 4" # set loglevel in debugmode
|
|
||||||
|
|
||||||
irserver -logfile /var/log/irserver.log -pidfile /var/run/irserver.pid \
|
|
||||||
$IRSERVER_ARG -daemon /dev/irtrans0 > /dev/null 2>&1
|
|
||||||
|
|
||||||
fi
|
|
@ -1,55 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# OpenELEC is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenELEC is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
PKG_NAME="irserver"
|
|
||||||
PKG_VERSION="6.03.08"
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="Freeware"
|
|
||||||
PKG_SITE="http://http://www.irtrans.de"
|
|
||||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
|
||||||
PKG_DEPENDS_TARGET="toolchain"
|
|
||||||
PKG_SECTION="sysutils/remote"
|
|
||||||
PKG_SHORTDESC="irserver: IR Trans transforms your PC into a programmable remote control."
|
|
||||||
PKG_LONGDESC="IR Trans transforms your PC into a programmable remote control: It learns the codes of your remote control, stores them in a database and sends them controlled by your applications."
|
|
||||||
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
PKG_AUTORECONF="no"
|
|
||||||
|
|
||||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
|
||||||
IRSERVER_BIN="irserver64"
|
|
||||||
elif [ "$TARGET_ARCH" = "arm" ]; then
|
|
||||||
IRSERVER_BIN="irserver_arm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
make_target() {
|
|
||||||
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" $IRSERVER_BIN
|
|
||||||
$STRIP $IRSERVER_BIN
|
|
||||||
}
|
|
||||||
|
|
||||||
makeinstall_target() {
|
|
||||||
mkdir -p $INSTALL/usr/config
|
|
||||||
cp $PKG_DIR/config/*.conf $INSTALL/usr/config
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/sbin
|
|
||||||
cp -P $IRSERVER_BIN $INSTALL/usr/sbin/irserver
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/irtrans/remotes
|
|
||||||
cp remotes/irtrans.rem $INSTALL/usr/share/irtrans/remotes
|
|
||||||
cp remotes/mediacenter.rem $INSTALL/usr/share/irtrans/remotes
|
|
||||||
}
|
|
@ -1,30 +0,0 @@
|
|||||||
diff -Naur irserver-05.02.10/lowlevel.c irserver-05.02.10.patch/lowlevel.c
|
|
||||||
--- irserver-05.02.10/lowlevel.c 2010-02-05 01:14:44.000000000 +0100
|
|
||||||
+++ irserver-05.02.10.patch/lowlevel.c 2010-04-26 13:22:40.171936190 +0200
|
|
||||||
@@ -2638,10 +2638,17 @@
|
|
||||||
#endif
|
|
||||||
#ifdef LINUX
|
|
||||||
//LINUX Autofind USB devices
|
|
||||||
- if ((!strncmp (st + q,"usb",3) || !strncmp (st + q,"USB",3)) && !autoflag) {
|
|
||||||
+ if( !strncmp( st, "/dev/irtrans", 12 ) && !autoflag ) {
|
|
||||||
+ autoflag = 1;
|
|
||||||
+ res = 0;
|
|
||||||
+ get_detail_deviceinfo ("",st,IF_USB);
|
|
||||||
+ }
|
|
||||||
+ else if ((!strncmp (st + q,"usb",3) || !strncmp (st + q,"USB",3)) && !autoflag) {
|
|
||||||
autoflag = 1;
|
|
||||||
res = 0;
|
|
||||||
for (i=0;i < 16;i++) {
|
|
||||||
+ sprintf (dst,"/dev/irtrans%d",i);
|
|
||||||
+ if (get_detail_deviceinfo ("",dst,IF_USB)) {
|
|
||||||
sprintf (dst,"/dev/ttyUSB%d",i);
|
|
||||||
if (get_detail_deviceinfo ("",dst,IF_USB)) {
|
|
||||||
sprintf (dst,"/dev/usb/ttyUSB%d",i);
|
|
||||||
@@ -2655,6 +2662,7 @@
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+ }
|
|
||||||
else if ((!strncmp (st + q,"/dev/usb/tty",12) || !strncmp (st + q,"/dev/ttyUSB",11) || !strncmp (st + q,"/dev/usb/tts",12) ||
|
|
||||||
!strncmp (st + q,"/dev/ttyusb",11) || !strncmp (st + q,"/dev/tts/USB",12)) && !autoflag) {
|
|
||||||
if (st[q + strlen (st+q) - 1] == ']') {
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -Naur irserver-20100817-old/server.c irserver-20100817-new/server.c
|
|
||||||
--- irserver-20100817-old/server.c 2010-08-16 15:17:31.000000000 -0700
|
|
||||||
+++ irserver-20100817-new/server.c 2010-08-17 06:08:44.000000000 -0700
|
|
||||||
@@ -101,7 +101,7 @@
|
|
||||||
|
|
||||||
#ifdef LINUX
|
|
||||||
SOCKET local_socket;
|
|
||||||
-#define LIRCD "/dev/lircd"
|
|
||||||
+#define LIRCD "/run/lirc/lircd.irtrans"
|
|
||||||
#define PERMISSIONS 0666
|
|
||||||
#endif
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# OpenELEC is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenELEC is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
d /run/lirc 0755 root root - -
|
|
@ -1,29 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# OpenELEC is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# OpenELEC is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
ACTION=="remove", GOTO="irtrans_end"
|
|
||||||
SUBSYSTEM!="tty", GOTO="irtrans_end"
|
|
||||||
KERNEL!="ttyUSB[0-9]*", GOTO="irtrans_end"
|
|
||||||
|
|
||||||
#IMPORT{builtin}="usb_id"
|
|
||||||
|
|
||||||
ATTRS{product}=="IRTrans*USB", SYMLINK+="irtrans%n"
|
|
||||||
|
|
||||||
LABEL="irtrans_end"
|
|
||||||
|
|
||||||
|
|
@ -32,10 +32,6 @@ PKG_LONGDESC="LCDproc is a piece of software that displays real-time system info
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
if [ "$IRSERVER_SUPPORT" = yes ]; then
|
|
||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET irserver"
|
|
||||||
fi
|
|
||||||
|
|
||||||
IFS=$','
|
IFS=$','
|
||||||
for i in $LCD_DRIVER; do
|
for i in $LCD_DRIVER; do
|
||||||
case $i in
|
case $i in
|
||||||
@ -58,7 +54,6 @@ post_makeinstall_target() {
|
|||||||
rm -rf $INSTALL/usr/bin
|
rm -rf $INSTALL/usr/bin
|
||||||
|
|
||||||
sed -e "s|^DriverPath=.*$|DriverPath=/usr/lib/lcdproc/|" \
|
sed -e "s|^DriverPath=.*$|DriverPath=/usr/lib/lcdproc/|" \
|
||||||
-e "s|^Driver=.*$|Driver=irtrans|" \
|
|
||||||
-e "s|^#Foreground=.*$|Foreground=no|" \
|
-e "s|^#Foreground=.*$|Foreground=no|" \
|
||||||
-e "s|^#ServerScreen=.*$|ServerScreen=blank|" \
|
-e "s|^#ServerScreen=.*$|ServerScreen=blank|" \
|
||||||
-e "s|^#Backlight=.*$|Backlight=open|" \
|
-e "s|^#Backlight=.*$|Backlight=open|" \
|
||||||
|
@ -35,10 +35,6 @@ if [ "$ATVCLIENT_SUPPORT" = "yes" ]; then
|
|||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET atvclient"
|
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET atvclient"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IRSERVER_SUPPORT" = "yes" ]; then
|
|
||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET irserver"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$AMREMOTE_SUPPORT" = "yes" ]; then
|
if [ "$AMREMOTE_SUPPORT" = "yes" ]; then
|
||||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET amremote"
|
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET amremote"
|
||||||
fi
|
fi
|
||||||
|
@ -107,9 +107,6 @@
|
|||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="no"
|
ATVCLIENT_SUPPORT="no"
|
||||||
|
|
||||||
# build and install IRServer IR/LCD support (yes / no)
|
|
||||||
IRSERVER_SUPPORT="no"
|
|
||||||
|
|
||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="none"
|
LCD_DRIVER="none"
|
||||||
|
|
||||||
|
@ -117,9 +117,6 @@
|
|||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="no"
|
ATVCLIENT_SUPPORT="no"
|
||||||
|
|
||||||
# build and install IRServer IR/LCD support (yes / no)
|
|
||||||
IRSERVER_SUPPORT="no"
|
|
||||||
|
|
||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="none"
|
LCD_DRIVER="none"
|
||||||
|
|
||||||
|
@ -117,9 +117,6 @@
|
|||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="no"
|
ATVCLIENT_SUPPORT="no"
|
||||||
|
|
||||||
# build and install IRServer IR/LCD support (yes / no)
|
|
||||||
IRSERVER_SUPPORT="no"
|
|
||||||
|
|
||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="none"
|
LCD_DRIVER="none"
|
||||||
|
|
||||||
|
@ -127,9 +127,6 @@
|
|||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="no"
|
ATVCLIENT_SUPPORT="no"
|
||||||
|
|
||||||
# build and install IRServer IR/LCD support (yes / no)
|
|
||||||
IRSERVER_SUPPORT="no"
|
|
||||||
|
|
||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="none"
|
LCD_DRIVER="none"
|
||||||
|
|
||||||
|
@ -115,9 +115,6 @@
|
|||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="no"
|
ATVCLIENT_SUPPORT="no"
|
||||||
|
|
||||||
# build and install IRServer IR/LCD support (yes / no)
|
|
||||||
IRSERVER_SUPPORT="no"
|
|
||||||
|
|
||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="none"
|
LCD_DRIVER="none"
|
||||||
|
|
||||||
|
@ -121,9 +121,6 @@
|
|||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="no"
|
ATVCLIENT_SUPPORT="no"
|
||||||
|
|
||||||
# build and install IRServer IR/LCD support (yes / no)
|
|
||||||
IRSERVER_SUPPORT="no"
|
|
||||||
|
|
||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="none"
|
LCD_DRIVER="none"
|
||||||
|
|
||||||
|
@ -114,9 +114,6 @@
|
|||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="no"
|
ATVCLIENT_SUPPORT="no"
|
||||||
|
|
||||||
# build and install IRServer IR/LCD support (yes / no)
|
|
||||||
IRSERVER_SUPPORT="no"
|
|
||||||
|
|
||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="none"
|
LCD_DRIVER="none"
|
||||||
|
|
||||||
|
@ -142,9 +142,6 @@
|
|||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="no"
|
ATVCLIENT_SUPPORT="no"
|
||||||
|
|
||||||
# build and install IRServer IR/LCD support (yes / no)
|
|
||||||
IRSERVER_SUPPORT="no"
|
|
||||||
|
|
||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="none"
|
LCD_DRIVER="none"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user