diff --git a/packages/linux-drivers/aver_h826d/build b/packages/linux-drivers/aver_h826d/build deleted file mode 100755 index ae725f6a48..0000000000 --- a/packages/linux-drivers/aver_h826d/build +++ /dev/null @@ -1,29 +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 -################################################################################ - -. config/options $1 - -cd $PKG_BUILD/installer/src - -LDFLAGS="" make KERNELDIR=$(kernel_path) - -fix_module_depends "h826d.ko" "averusbh826d,videodev" diff --git a/packages/linux-drivers/aver_h826d/install b/packages/linux-drivers/aver_h826d/install deleted file mode 100755 index 2723572407..0000000000 --- a/packages/linux-drivers/aver_h826d/install +++ /dev/null @@ -1,28 +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 -################################################################################ - -. config/options $1 - -VER=`ls $BUILD/linux*/modules/lib/modules` - -mkdir -p $INSTALL/lib/modules/$VER/aver_h826d - cp $PKG_BUILD/installer/src/*.ko $INSTALL/lib/modules/$VER/aver_h826d diff --git a/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-4GREG/_prebuild.o_shipped b/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-4GREG/_prebuild.o_shipped deleted file mode 100644 index f167884b53..0000000000 Binary files a/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-4GREG/_prebuild.o_shipped and /dev/null differ diff --git a/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-4GREG/aver/osdep_dvb.o_shipped b/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-4GREG/aver/osdep_dvb.o_shipped deleted file mode 100644 index 9c98ea8137..0000000000 Binary files a/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-4GREG/aver/osdep_dvb.o_shipped and /dev/null differ diff --git a/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-x64/_prebuild.o_shipped b/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-x64/_prebuild.o_shipped deleted file mode 100644 index 9a49dc8a22..0000000000 Binary files a/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-x64/_prebuild.o_shipped and /dev/null differ diff --git a/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-x64/aver/osdep_dvb.o_shipped b/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-x64/aver/osdep_dvb.o_shipped deleted file mode 100644 index 38ab6ef008..0000000000 Binary files a/packages/linux-drivers/aver_h826d/kdep_2.6.30/OBJ-x64/aver/osdep_dvb.o_shipped and /dev/null differ diff --git a/packages/linux-drivers/aver_h826d/meta b/packages/linux-drivers/aver_h826d/meta deleted file mode 100644 index d2f79854c9..0000000000 --- a/packages/linux-drivers/aver_h826d/meta +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# 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 -################################################################################ - -PKG_NAME="aver_h826d" -PKG_VERSION="0.10" -PKG_REV="1" -PKG_ARCH="i386 x86_64" -PKG_LICENSE="GPL" -PKG_SITE="http://www.avermedia-usa.com/avertv/product/ProductDetail.aspx?Id=431&tab=APDriver" -[ "$TARGET_ARCH" = "i386" ] && PKG_URL="http://www.avermedia-usa.com/AVerTV/Upload/Download/C038A827H826_Installer_x86_0.10-Beta_091126.zip" -[ "$TARGET_ARCH" = "x86_64" ] && PKG_URL="http://www.avermedia-usa.com/AVerTV/Upload/Download/C038A827H826_Installer_x64_0.10-Beta_091126.zip" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain linux" -PKG_PRIORITY="optional" -PKG_SECTION="driver" -PKG_SHORTDESC="AVerTV Hybrid Volar MAX H826 driver" -PKG_LONGDESC="AVerTV Hybrid Volar MAX H826 driver" -PKG_IS_ADDON="no" -PKG_AUTORECONF="no" diff --git a/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-100-latest_kernel.patch b/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-100-latest_kernel.patch deleted file mode 100644 index 43d8659c47..0000000000 --- a/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-100-latest_kernel.patch +++ /dev/null @@ -1,65 +0,0 @@ -diff -Nr -u0 original/installer/installer.sh modified/installer/installer.sh ---- original/installer/installer.sh 2009-11-13 11:47:33.000000000 +0100 -+++ modified/installer/installer.sh 2011-08-28 20:58:38.000000000 +0200 -@@ -177,13 +176,0 @@ -- if [[ "$kversion" != "2" || "$kpatchlevel" != "6" ]]; then -- dialog --backtitle "$BACKTITLE" \ -- --title "Kernel version error" \ -- --msgbox "Installer cannot determine kernel version or the running kernel is not 2.6.x kernel. \n\ --Installer will abort now. --" \ -- 10 $WIDTH -- log "generate_kdep_string: wrong kernel version ${kversion}.${kpatchlevel}.${ksublevel}. Abort." -- log_from_file $ksrc/Makefile #s016 -- log_from_file $kobj/Makefile #s016 -- exit -- fi -- -diff -Nr -u0 original/installer/src/aver/osdep.c modified/installer/src/aver/osdep.c ---- original/installer/src/aver/osdep.c 2009-11-13 11:54:56.000000000 +0100 -+++ modified/installer/src/aver/osdep.c 2011-08-28 20:19:19.000000000 +0200 -@@ -89 +88,0 @@ --#include -@@ -435 +434 @@ -- init_MUTEX(tmp); -+ sema_init(tmp, 1); -@@ -439 +438 @@ -- init_MUTEX_LOCKED(tmp); -+ sema_init(tmp, 0); -@@ -1069,0 +1069 @@ -+static DEFINE_MUTEX(dvbdev_mutex); -@@ -1072 +1072 @@ -- lock_kernel(); -+ mutex_lock(&dvbdev_mutex); -@@ -1077 +1077 @@ -- unlock_kernel(); -+ mutex_unlock(&dvbdev_mutex); -diff -Nr -u0 original/installer/src/aver/osdep_dvb.c modified/installer/src/aver/osdep_dvb.c ---- original/installer/src/aver/osdep_dvb.c 2009-11-13 11:54:57.000000000 +0100 -+++ modified/installer/src/aver/osdep_dvb.c 2011-08-28 20:19:36.000000000 +0200 -@@ -79 +78,0 @@ --#include -@@ -233 +232 @@ -- init_MUTEX(&p->feedlock); -+ sema_init(&p->feedlock, 1); -diff -Nr -u0 original/installer/src/aver/osdep_th2.c modified/installer/src/aver/osdep_th2.c ---- original/installer/src/aver/osdep_th2.c 2009-11-13 11:54:57.000000000 +0100 -+++ modified/installer/src/aver/osdep_th2.c 2011-08-28 20:20:00.000000000 +0200 -@@ -78 +77,0 @@ --#include -@@ -80,0 +80 @@ -+#include "osdep.h" -@@ -90 +90 @@ -- lock_kernel(); -+ SysLockKernel(); -@@ -100 +100 @@ -- unlock_kernel(); -+ SysUnlockKernel(); -diff -Nr -u0 original/installer/src/aver/osdep_v4l2.c modified/installer/src/aver/osdep_v4l2.c ---- original/installer/src/aver/osdep_v4l2.c 2009-11-13 11:54:58.000000000 +0100 -+++ modified/installer/src/aver/osdep_v4l2.c 2011-08-28 20:20:19.000000000 +0200 -@@ -75,0 +76,2 @@ -+#define VFL_TYPE_VTX 3 -+ -@@ -84 +85,0 @@ --#include diff --git a/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-100-latest_kernel.patch.txt b/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-100-latest_kernel.patch.txt deleted file mode 100644 index 181f84035f..0000000000 --- a/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-100-latest_kernel.patch.txt +++ /dev/null @@ -1 +0,0 @@ -http://linuxtv.org/wiki/index.php/AVerMedia_AverTV_Hybrid_Volar_HX_(A827) \ No newline at end of file diff --git a/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-101-kernel-3.2.patch b/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-101-kernel-3.2.patch deleted file mode 100644 index 775974f4a5..0000000000 --- a/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-101-kernel-3.2.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur AVERMEDIA-Linux-x64-H826D-0.10-beta/installer/src/driver-core.c AVERMEDIA-Linux-x64-H826D-0.10-beta.patch/installer/src/driver-core.c ---- AVERMEDIA-Linux-x64-H826D-0.10-beta/installer/src/driver-core.c 2009-11-13 11:54:59.000000000 +0100 -+++ AVERMEDIA-Linux-x64-H826D-0.10-beta.patch/installer/src/driver-core.c 2011-12-21 02:32:24.008225956 +0100 -@@ -81,6 +81,7 @@ - #include "aver/id.h" - #include "driver-core.h" - #include -+#include - - - diff --git a/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-102-crosscompile.patch b/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-102-crosscompile.patch deleted file mode 100644 index b3ab88413b..0000000000 --- a/packages/linux-drivers/aver_h826d/patches-manual/aver_h826d-0.10-102-crosscompile.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/installer/src/Makefile b/installer/src/Makefile -index 7679c65..a83fb0b 100644 ---- a/installer/src/Makefile -+++ b/installer/src/Makefile -@@ -56,7 +56,7 @@ h826d-objs := $(COBJS) $(PREBUILD_OBJ) - averusbh826d-objs := aver/averusb-mod.o - default:: links - $(MAKE) -C $(KERNELSRC) O=$(KERNELOBJ) SUBDIRS=`pwd` $(TARGET) -- $(CROSS_COMPILE)strip --strip-debug *.ko -+ $(STRIP) --strip-debug *.ko - - - diff --git a/packages/linux-drivers/aver_h826d/unpack b/packages/linux-drivers/aver_h826d/unpack deleted file mode 100755 index 9148078f4b..0000000000 --- a/packages/linux-drivers/aver_h826d/unpack +++ /dev/null @@ -1,52 +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 -################################################################################ - -. config/options $1 - -ZIP_PKG="`echo $PKG_URL | sed 's%.*/\(.*\)$%\1%'`" - -mkdir -p $BUILD/${PKG_NAME}-${PKG_VERSION} - -unzip $SOURCES/$1/$ZIP_PKG -d $BUILD/${PKG_NAME}-${PKG_VERSION} >/dev/null 2>&1 - -tail -n +115 $BUILD/${PKG_NAME}-${PKG_VERSION}/H826D_Installer_*/AVERMEDIA-Linux-*-H826D-0.10-beta.sh | bzip2 -d | tar xf - -C $BUILD/${PKG_NAME}-${PKG_VERSION} - -# this code is copied from scripts/unpack -PKG_BUILD=`ls -d $BUILD/${PKG_NAME}[-_.]${PKG_VERSION}` -for i in $PKG_DIR/patches-manual/$PKG_NAME-$PKG_VERSION*.patch ; do - if [ -f "$i" ]; then - PATCH=`basename $i` - PT=`echo $PATCH | sed 's/.*\.\(.*\)$/\1/'` - if [ "$PT" != "patch" -a "$PT" != "$TARGET_ARCH" ]; then - printf "%${INDENT}c SKIP PATCH: $i\n" >&$SILENT_OUT - continue; - else - printf "%${INDENT}c APPLY PATCH: $i\n" >&$SILENT_OUT - cat $i | patch -p1 -d `echo "$PKG_BUILD" | cut -f1 -d\ ` -p1 >&$VERBOSE_OUT - fi - fi -done - -# prebuild objects were hex edited for kernel 3.1 -[ "$TARGET_ARCH" = "x86_64" ] && KVSTR=x64 -[ "$TARGET_ARCH" = "i386" ] && KVSTR=4GREG -cp -rf $PKG_DIR/kdep_2.6.30/OBJ-$KVSTR/* $BUILD/${PKG_NAME}-${PKG_VERSION}/installer/src