Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv

This commit is contained in:
Stephan Raue 2012-04-05 04:40:00 +02:00
commit 1f15a9d9d0
10 changed files with 293 additions and 2 deletions

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="xbmc-addon-vuplus"
PKG_VERSION="2eea15f"
PKG_VERSION="22cb864"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -0,0 +1,40 @@
#!/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
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--enable-shared \
--disable-static \
--without-pam \
--without-gtk2 \
--without-gtkmm \
--without-dnet \
--without-x \
--without-icu \
--with-linuxdir=$(kernel_path)
make CFLAGS+="-DG_DISABLE_DEPRECATED"

View File

@ -0,0 +1,42 @@
################################################################################
# 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
################################################################################
# setup keyboard layout
#
# runlevels: openelec
(
# exit if not in vmware
if [ ! -x /usr/bin/vmware-checkvm ] || ! /usr/bin/vmware-checkvm > /dev/null 2>&1 ; then
exit 0
fi
wait_for_xorg
# load modules
modprobe vmhgfs
modprobe vmsync
modprobe vmblock
modprobe -r pcnet32
modprobe vmxnet
modprobe pcnet32
/usr/bin/vmtoolsd --background /var/run/vmtoolsd.pid
)&

View File

@ -0,0 +1,54 @@
#!/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/open-vm-tools
find $PKG_BUILD/ -name \*.ko -exec cp {} $INSTALL/lib/modules/$VER/open-vm-tools \;
mkdir -p $INSTALL/sbin
cp -PR $PKG_BUILD/hgfsmounter/mount.vmhgfs $INSTALL/sbin
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/libguestlib/.libs/libguestlib.so* $INSTALL/usr/lib
cp -PR $PKG_BUILD/libhgfs/.libs/libhgfs.so* $INSTALL/usr/lib
cp -PR $PKG_BUILD/libvmtools/.libs/libvmtools.so* $INSTALL/usr/lib
mkdir -p $INSTALL/usr/lib/open-vm-tools/plugins/common
cp -PR $PKG_BUILD/services/plugins/*/.libs/libhgfsServer.so $INSTALL/usr/lib/open-vm-tools/plugins/common
cp -PR $PKG_BUILD/services/plugins/*/.libs/libvix.so $INSTALL/usr/lib/open-vm-tools/plugins/common
mkdir -p $INSTALL/usr/lib/open-vm-tools/plugins/vmsvc
cp -PR $PKG_BUILD/services/plugins/*/.libs/libguestInfo.so $INSTALL/usr/lib/open-vm-tools/plugins/vmsvc
cp -PR $PKG_BUILD/services/plugins/*/.libs/libpowerOps.so $INSTALL/usr/lib/open-vm-tools/plugins/vmsvc
cp -PR $PKG_BUILD/services/plugins/*/.libs/libtimeSync.so $INSTALL/usr/lib/open-vm-tools/plugins/vmsvc
cp -PR $PKG_BUILD/services/plugins/*/.libs/libvmbackup.so $INSTALL/usr/lib/open-vm-tools/plugins/vmsvc
mkdir -p $INSTALL/usr/bin
cp -PR $PKG_BUILD/services/vmtoolsd/.libs/vmtoolsd $INSTALL/usr/bin
cp -PR $PKG_BUILD/checkvm/.libs/vmware-checkvm $INSTALL/usr/bin
cp -PR $PKG_BUILD/hgfsclient/.libs/vmware-hgfsclient $INSTALL/usr/bin
cp -PR $PKG_BUILD/rpctool/vmware-rpctool $INSTALL/usr/bin
cp -PR $PKG_BUILD/toolbox/.libs/vmware-toolbox-cmd $INSTALL/usr/bin
cp -PR $PKG_BUILD/xferlogs/.libs/vmware-xferlogs $INSTALL/usr/bin

View File

@ -0,0 +1,37 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2011 Anthony Nash (nash.ant@gmail.com)
#
# 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="open-vm-tools"
PKG_VERSION="2012.03.13-651368"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://open-vm-tools.sourceforge.net"
PKG_URL="$SOURCEFORGE_SRC/project/open-vm-tools/open-vm-tools/2012.03.13/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS="procps"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="virtualization"
PKG_SHORTDESC="open-vm-tools: open source implementation of VMware Tools"
PKG_LONGDESC="open-vm-tools: open source implementation of VMware Tools"
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"

View File

@ -0,0 +1,26 @@
diff --git a/configure b/configure
index 3861c20..bec644c 100755
--- a/configure
+++ b/configure
@@ -2881,7 +2881,7 @@ if test "$with_kernel_modules" = "yes"; then
if test ! -d "$LINUXDIR/kernel/"; then
as_fn_error $? "$LINUXDIR/kernel does not exist" "$LINENO" 5
fi
- LINUXINCLUDE="$LINUXDIR/build/include"
+ LINUXINCLUDE="$LINUXDIR/include"
if test ! -d "$LINUXINCLUDE"; then
as_fn_error $? "Can't find include dir under $LINUXDIR" "$LINENO" 5
fi
diff --git a/configure.ac b/configure.ac
index be4a7c0..2bf6779 100644
--- a/configure.ac
+++ b/configure.ac
@@ -148,7 +148,7 @@ if test "$with_kernel_modules" = "yes"; then
if test ! -d "$LINUXDIR/kernel/"; then
AC_MSG_ERROR([$LINUXDIR/kernel does not exist])
fi
- LINUXINCLUDE="$LINUXDIR/build/include"
+ LINUXINCLUDE="$LINUXDIR/include"
if test ! -d "$LINUXINCLUDE"; then
AC_MSG_ERROR([Can't find include dir under $LINUXDIR])
fi

30
packages/sysutils/procps/build Executable file
View File

@ -0,0 +1,30 @@
#!/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
setup_toolchain host
cd $PKG_BUILD
$MAKE CPPFLAGS=""

View File

@ -0,0 +1,26 @@
#!/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
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/proc/libproc-*.so $INSTALL/usr/lib

View File

@ -0,0 +1,36 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2011-2011 Gregor Fuis (gujs@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="procps"
PKG_VERSION="3.2.8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://procps.sourceforge.net/"
PKG_URL="http://procps.sourceforge.net/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain ncurses"
PKG_PRIORITY="optional"
PKG_SECTION="system/utils"
PKG_SHORTDESC="procps is the package that has a bunch of small useful utilities that give information about processes using the /proc filesystem"
PKG_LONGDESC="procps is the package that has a bunch of small useful utilities that give information about processes using the /proc filesystem"
PKG_AUTORECONF="no"

View File

@ -25,7 +25,7 @@ PKG_ARCH="i386 x86_64"
PKG_LICENSE="OSS"
PKG_SITE="http://www.vmware.com"
PKG_URL="http://cgit.freedesktop.org/xorg/driver/xf86-video-vmware/snapshot/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS="libX11 Mesa"
PKG_DEPENDS="libX11 Mesa open-vm-tools"
PKG_BUILD_DEPENDS="toolchain Mesa"
PKG_PRIORITY="optional"
PKG_SECTION="x11/driver"