From 472e7570048b2d1ed47f4940b48458da1f4bcd56 Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Wed, 4 Apr 2012 08:45:47 +0200 Subject: [PATCH 1/4] xbmc-addon-vuplus: version update --- packages/mediacenter/xbmc-addon-vuplus/meta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mediacenter/xbmc-addon-vuplus/meta b/packages/mediacenter/xbmc-addon-vuplus/meta index 1df500de4d..f553a802a7 100644 --- a/packages/mediacenter/xbmc-addon-vuplus/meta +++ b/packages/mediacenter/xbmc-addon-vuplus/meta @@ -19,7 +19,7 @@ ################################################################################ PKG_NAME="xbmc-addon-vuplus" -PKG_VERSION="2eea15f" +PKG_VERSION="22cb864" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" From ea20d6c58f01916e4df3c8a9bd75e288d2fb8eff Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Tue, 3 Apr 2012 16:35:25 +0300 Subject: [PATCH 2/4] new package: procps --- packages/sysutils/procps/build | 30 ++++++++++++++++++++++++++ packages/sysutils/procps/install | 26 +++++++++++++++++++++++ packages/sysutils/procps/meta | 36 ++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100755 packages/sysutils/procps/build create mode 100755 packages/sysutils/procps/install create mode 100644 packages/sysutils/procps/meta diff --git a/packages/sysutils/procps/build b/packages/sysutils/procps/build new file mode 100755 index 0000000000..23f54652cd --- /dev/null +++ b/packages/sysutils/procps/build @@ -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="" + diff --git a/packages/sysutils/procps/install b/packages/sysutils/procps/install new file mode 100755 index 0000000000..cef72f869b --- /dev/null +++ b/packages/sysutils/procps/install @@ -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 diff --git a/packages/sysutils/procps/meta b/packages/sysutils/procps/meta new file mode 100644 index 0000000000..1590121273 --- /dev/null +++ b/packages/sysutils/procps/meta @@ -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" From b0f70b42a6977b586f72746bb120fb6020860dd6 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Tue, 3 Apr 2012 16:36:09 +0300 Subject: [PATCH 3/4] new package: open-vm-tools --- packages/sysutils/open-vm-tools/build | 40 ++++++++++++++ .../open-vm-tools/init.d/92_open-vm-tools | 42 +++++++++++++++ packages/sysutils/open-vm-tools/install | 54 +++++++++++++++++++ packages/sysutils/open-vm-tools/meta | 37 +++++++++++++ ...-vm-tools-2012.03.13-651368-linuxdir.patch | 26 +++++++++ 5 files changed, 199 insertions(+) create mode 100755 packages/sysutils/open-vm-tools/build create mode 100644 packages/sysutils/open-vm-tools/init.d/92_open-vm-tools create mode 100755 packages/sysutils/open-vm-tools/install create mode 100644 packages/sysutils/open-vm-tools/meta create mode 100644 packages/sysutils/open-vm-tools/patches/open-vm-tools-2012.03.13-651368-linuxdir.patch diff --git a/packages/sysutils/open-vm-tools/build b/packages/sysutils/open-vm-tools/build new file mode 100755 index 0000000000..bfe024ae75 --- /dev/null +++ b/packages/sysutils/open-vm-tools/build @@ -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" diff --git a/packages/sysutils/open-vm-tools/init.d/92_open-vm-tools b/packages/sysutils/open-vm-tools/init.d/92_open-vm-tools new file mode 100644 index 0000000000..9c06aa5b41 --- /dev/null +++ b/packages/sysutils/open-vm-tools/init.d/92_open-vm-tools @@ -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 +)& diff --git a/packages/sysutils/open-vm-tools/install b/packages/sysutils/open-vm-tools/install new file mode 100755 index 0000000000..e3b9ddd57b --- /dev/null +++ b/packages/sysutils/open-vm-tools/install @@ -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 diff --git a/packages/sysutils/open-vm-tools/meta b/packages/sysutils/open-vm-tools/meta new file mode 100644 index 0000000000..56c1941426 --- /dev/null +++ b/packages/sysutils/open-vm-tools/meta @@ -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" diff --git a/packages/sysutils/open-vm-tools/patches/open-vm-tools-2012.03.13-651368-linuxdir.patch b/packages/sysutils/open-vm-tools/patches/open-vm-tools-2012.03.13-651368-linuxdir.patch new file mode 100644 index 0000000000..d7919e41d8 --- /dev/null +++ b/packages/sysutils/open-vm-tools/patches/open-vm-tools-2012.03.13-651368-linuxdir.patch @@ -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 From 73a8604f2ba77d63e61a269cd453ba50bf596421 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Wed, 4 Apr 2012 11:15:45 +0300 Subject: [PATCH 4/4] xf86-video-vmware: depend on open-wm-tools --- packages/x11/driver/xf86-video-vmware/meta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/x11/driver/xf86-video-vmware/meta b/packages/x11/driver/xf86-video-vmware/meta index 43a4737d7f..d6ffea8c77 100644 --- a/packages/x11/driver/xf86-video-vmware/meta +++ b/packages/x11/driver/xf86-video-vmware/meta @@ -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"