From faa821730fab81a5981898305659de1f3bbb544e Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Sun, 2 Feb 2014 00:12:39 +0200 Subject: [PATCH] remove package: xbmc-addon-lcd --- .../mediacenter/xbmc-addon-lcd/package.mk | 43 ------------- .../xbmc-addon-lcd-6b08848-be_silent.patch | 61 ------------------- tools/mkpkg/mkpkg_xbmc-addon-lcd | 43 ------------- 3 files changed, 147 deletions(-) delete mode 100644 packages/mediacenter/xbmc-addon-lcd/package.mk delete mode 100644 packages/mediacenter/xbmc-addon-lcd/patches/xbmc-addon-lcd-6b08848-be_silent.patch delete mode 100755 tools/mkpkg/mkpkg_xbmc-addon-lcd diff --git a/packages/mediacenter/xbmc-addon-lcd/package.mk b/packages/mediacenter/xbmc-addon-lcd/package.mk deleted file mode 100644 index bc194a821..000000000 --- a/packages/mediacenter/xbmc-addon-lcd/package.mk +++ /dev/null @@ -1,43 +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 . -################################################################################ - -PKG_NAME="xbmc-addon-lcd" -PKG_VERSION="6b08848" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="GPL" -PKG_SITE="https://github.com/Memphiz/script.xbmc.lcd" -PKG_SITE="https://github.com/herrnst/script.xbmc.lcd" -PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS_TARGET="toolchain Python" -PKG_PRIORITY="optional" -PKG_SECTION="mediacenter" -PKG_SHORTDESC="LCD addon for XBMC" -PKG_LONGDESC="This addon allows XBM to connect to LCDproc." - -PKG_IS_ADDON="no" -PKG_AUTORECONF="no" - -make_target() { - : # nothing todo -} - -makeinstall_target() { - mkdir -p $INSTALL/usr/share/xbmc/addons - cp -PRf script.xbmc.lcd $INSTALL/usr/share/xbmc/addons -} diff --git a/packages/mediacenter/xbmc-addon-lcd/patches/xbmc-addon-lcd-6b08848-be_silent.patch b/packages/mediacenter/xbmc-addon-lcd/patches/xbmc-addon-lcd-6b08848-be_silent.patch deleted file mode 100644 index f54ceaf55..000000000 --- a/packages/mediacenter/xbmc-addon-lcd/patches/xbmc-addon-lcd-6b08848-be_silent.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 70ba5ad47b5bb49216c30d5321948d33dd7a3cfe Mon Sep 17 00:00:00 2001 -From: Daniel Scheller -Date: Wed, 14 Nov 2012 23:23:26 +0100 -Subject: [PATCH] testing: disable all connection notifications - ---- - script.xbmc.lcd/lcdmain.py | 36 ++++++++++++++++++------------------ - 1 file changed, 18 insertions(+), 18 deletions(-) - -diff --git a/script.xbmc.lcd/lcdmain.py b/script.xbmc.lcd/lcdmain.py -index 585f87d..15a7e3f 100644 ---- a/script.xbmc.lcd/lcdmain.py -+++ b/script.xbmc.lcd/lcdmain.py -@@ -125,26 +125,26 @@ def handleConnectLCD(): - - ret = g_lcdproc.Initialize() - -- if not ret: -- count = 10 -- if not g_failedConnectionNotified: -- g_failedConnectionNotified = True -- g_initialConnectAttempt = False -- text = __settings__.getLocalizedString(500) -- xbmc.executebuiltin("XBMC.Notification(%s,%s,%s,%s)" % (__scriptname__,text,10,__icon__)) -- while (not xbmc.abortRequested) and (count > 0): -- time.sleep(1) -- count -= 1 -- ret = False -- else: -- text = __settings__.getLocalizedString(501) -- if not g_failedConnectionNotified and not g_initialConnectAttempt: -- xbmc.executebuiltin("XBMC.Notification(%s,%s,%s,%s)" % (__scriptname__,text,10,__icon__)) -- g_failedConnectionNotified = True -- break -+ #if not ret: -+ # count = 10 -+ # if not g_failedConnectionNotified: -+ # g_failedConnectionNotified = True -+ # g_initialConnectAttempt = False -+ # text = __settings__.getLocalizedString(500) -+ # xbmc.executebuiltin("XBMC.Notification(%s,%s,%s,%s)" % (__scriptname__,text,10,__icon__)) -+ # while (not xbmc.abortRequested) and (count > 0): -+ # time.sleep(1) -+ # count -= 1 -+ # ret = False -+ #else: -+ # text = __settings__.getLocalizedString(501) -+ # if not g_failedConnectionNotified and not g_initialConnectAttempt: -+ # xbmc.executebuiltin("XBMC.Notification(%s,%s,%s,%s)" % (__scriptname__,text,10,__icon__)) -+ # g_failedConnectionNotified = True -+ # break - - # initial connection attempt done, update flag -- g_initialConnectAttempt = False -+ # g_initialConnectAttempt = False - return ret - - #MAIN - entry point --- -1.7.10 - diff --git a/tools/mkpkg/mkpkg_xbmc-addon-lcd b/tools/mkpkg/mkpkg_xbmc-addon-lcd deleted file mode 100755 index b5deb80e5..000000000 --- a/tools/mkpkg/mkpkg_xbmc-addon-lcd +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program 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, or (at your option) -# any later version. -# -# This Program 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.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -echo "getting sources..." - if [ ! -d xbmc-addon-lcd.git ]; then - git clone git://github.com/herrnst/script.xbmc.lcd.git xbmc-addon-lcd.git - fi - - cd xbmc-addon-lcd.git - git pull - GIT_REV=`git log -n1 --format=%h` - cd .. - -echo "copying sources..." - rm -rf xbmc-addon-lcd-$GIT_REV - cp -R xbmc-addon-lcd.git xbmc-addon-lcd-$GIT_REV - -echo "cleaning sources..." - rm -rf xbmc-addon-lcd-$GIT_REV/.git - -echo "packing sources..." - tar cvJf xbmc-addon-lcd-$GIT_REV.tar.xz xbmc-addon-lcd-$GIT_REV - -echo "remove temporary sourcedir..." - rm -rf xbmc-addon-lcd-$GIT_REV