From ac0370a74c1deab0aefb15a685c8d86deab9d4b5 Mon Sep 17 00:00:00 2001 From: Bastian Wissler Date: Fri, 11 Apr 2008 19:37:35 +0000 Subject: More complete version of vmchooser. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1737 95ad53e4-c205-0410-b2fa-d234c58c8868 --- .../vmchooser/OpenSLX/OSPlugin/vmchooser.pm | 7 ++---- os-plugins/plugins/vmchooser/README | 28 ++++++++------------- os-plugins/plugins/vmchooser/files/vmchooser | Bin 499912 -> 632272 bytes .../plugins/vmwarebinary/files/installbinary.sh | 2 +- 4 files changed, 13 insertions(+), 24 deletions(-) (limited to 'os-plugins/plugins') diff --git a/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm b/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm index 48ecaade..25272af6 100644 --- a/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm +++ b/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm @@ -88,18 +88,15 @@ sub installationPhase # Some plugins have to copy files from their plugin folder into the # vendor-OS. In order to make this possible while chrooted, the host's # /opt/openslx folder will be mounted to /mnt/openslx in the vendor-OS. - # So each plugin could copy some files like this: - # - # get our own name: - my $pluginName = $self->{'name'}; + #my $pluginName = $self->{'name'}; # get our own base path: my $pluginBasePath = "/mnt/openslx/lib/plugins/$pluginName/files"; # copy all needed files now: - system( "bash") ; + #system( "bash") ; foreach my $file ( qw( vmchooser ) ) { copyFile("$pluginBasePath/$file", "$pluginRepositoryPath/"); } diff --git a/os-plugins/plugins/vmchooser/README b/os-plugins/plugins/vmchooser/README index 371d847e..a9d12764 100644 --- a/os-plugins/plugins/vmchooser/README +++ b/os-plugins/plugins/vmchooser/README @@ -2,26 +2,18 @@ VirtualMachine Chooser - plugin =============================== +This Plugin uses an external program to show +a list of sessions, from which a user can choose. -Please consider to run "make" in the folder src/vmchooser/ after any changes to the code. -Static libraries of fltk-2 are in src/fltk-2/ and are used to link against the program. +This Programm is included in binary format. You +can look into the sources at +svn://svn.openslx.org/srv/svn/openslx/openslx-src-tools/os-plugins/plugins/vmchooser/ +There you can change the program to your needs +and compile it with the included Makefile. -BUGS: - -static version: - - Has to be run with "nice ./vmchooser", else there is a bug in the Xorg system, - therefore I suggest compiling the shared version for development purposes. - - Simply change "STATIC=-static" to "STATIC= #-static" to enable the shared version. - - -TODO: - - enable linux-serssions - - enable callbacks on entries <- Very important. - - -ATTENTION: - This program is not yet released ;-) +Use at your own risk! +No warranty is given by the author +of this software for any purposes! diff --git a/os-plugins/plugins/vmchooser/files/vmchooser b/os-plugins/plugins/vmchooser/files/vmchooser index b57e07b6..156cf67f 100755 Binary files a/os-plugins/plugins/vmchooser/files/vmchooser and b/os-plugins/plugins/vmchooser/files/vmchooser differ diff --git a/os-plugins/plugins/vmwarebinary/files/installbinary.sh b/os-plugins/plugins/vmwarebinary/files/installbinary.sh index e1b412c6..88be7877 100644 --- a/os-plugins/plugins/vmwarebinary/files/installbinary.sh +++ b/os-plugins/plugins/vmwarebinary/files/installbinary.sh @@ -19,7 +19,7 @@ if [ ${REPLY} == "YES" ]; then echo " * Downloading vmplayer now. This may take a while" cd /opt/openslx/plugin-repo/vmwarebinary/ - todo, during development we have this file and dont need to download it + #todo, during development we have this file and dont need to download it wget -c http://download3.vmware.com/software/vmplayer/VMware-player-2.0.2-59824.i386.tar.gz echo " * Unpacking vmplayer" -- cgit v1.2.3-55-g7522