summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware
diff options
context:
space:
mode:
authorVolker Uhrig2008-05-23 22:42:17 +0200
committerVolker Uhrig2008-05-23 22:42:17 +0200
commit20cdfa546d28c3b2d24c0a3ef61eaf982e5b88f1 (patch)
tree48f344ce68ed9d121b44106c1380b9098de5ea91 /os-plugins/plugins/vmware
parent* use Clone::clone instead of Storable::dclone throughout OpenSLX in order to... (diff)
downloadcore-20cdfa546d28c3b2d24c0a3ef61eaf982e5b88f1.tar.gz
core-20cdfa546d28c3b2d24c0a3ef61eaf982e5b88f1.tar.xz
core-20cdfa546d28c3b2d24c0a3ef61eaf982e5b88f1.zip
* fixed font problem
* raised next step/problem: location of the EULA.txt git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1785 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware')
-rw-r--r--os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm7
-rw-r--r--os-plugins/plugins/vmware/files/install-vmpl2.0.sh52
2 files changed, 39 insertions, 20 deletions
diff --git a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
index e0ff953b..ac2281e4 100644
--- a/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
+++ b/os-plugins/plugins/vmware/OpenSLX/OSPlugin/vmware.pm
@@ -264,7 +264,14 @@ sub _writeWrapperScript
#TODO: test it with local installed vmplayer!!!
export LD_LIBRARY_PATH=$vmpath/lib
export GTK_PIXBUF_MODULE_FILE=$vmpath/libconf/etc/gtk-2.0/gdk-pixbuf.loaders
+ export GTK_IM_MODULE_FILE=$vmpath/libconf/etc/gtk-2.0/gtk.immodules
export FONTCONFIG_PATH=$vmpath/libconf/etc/fonts
+ export PANGO_RC_FILE=$vmpath/libconf/etc/pango/pangorc
+ # possible needed... but what are they good for?
+ #export GTK_DATA_PREFIX=
+ #export GTK_EXE_PREFIX=
+ #export GTK_PATH=
+
PREFIX=$vmpath # depends on the vmware location
exec "\$PREFIX"'/lib/wrapper-gtk24.sh' \\
"\$PREFIX"'/lib' \\
diff --git a/os-plugins/plugins/vmware/files/install-vmpl2.0.sh b/os-plugins/plugins/vmware/files/install-vmpl2.0.sh
index 2a65a790..ac3a56f0 100644
--- a/os-plugins/plugins/vmware/files/install-vmpl2.0.sh
+++ b/os-plugins/plugins/vmware/files/install-vmpl2.0.sh
@@ -16,23 +16,23 @@ echo
if [ "${REPLY}" == "YES" ]; then
- echo " * Downloading vmplayer now. This may take a while"
- cd /opt/openslx/plugin-repo/vmware/vmpl2.0
- #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 " * Downloading vmplayer now. This may take a while"
+ cd /opt/openslx/plugin-repo/vmware/vmpl2.0
+ #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"
- #tar xfz VMware-player-2.0.2-59824.i386.tar.gz
+ echo " * Unpacking vmplayer"
+ #tar xfz VMware-player-2.0.2-59824.i386.tar.gz
#TODO: just for developing purpose
- tar xfz ../../VMware-player-2.0.2-59824.i386.tar.gz
+ tar xfz ../../VMware-player-2.0.2-59824.i386.tar.gz
- echo " * copying files..."
- mkdir root
- mkdir -p root/lib
- mv vmware-player-distrib/lib root/lib/vmware
- mv vmware-player-distrib/bin root/
- mv vmware-player-distrib/sbin root/
- mv vmware-player-distrib/doc root/
+ echo " * copying files..."
+ mkdir root
+ mkdir -p root/lib
+ mv vmware-player-distrib/lib root/lib/vmware
+ mv vmware-player-distrib/bin root/
+ mv vmware-player-distrib/sbin root/
+ mv vmware-player-distrib/doc root/
rm -rf vmware-player-distrib/
# I don't want to understand what vmware is doing, but without this
@@ -45,13 +45,25 @@ if [ "${REPLY}" == "YES" ]; then
mv test/lib*/* .
cd ../../../..
- echo " * fixing gdk config file"
+ echo " * fixing gdk and pango config files"
sed -i \
's,/build/mts/.*/vmui/../libdir/libconf,/opt/openslx/plugin-repo/vmware/vmpl2.0/root/lib/vmware/libconf,' \
root/lib/vmware/libconf/etc/gtk-2.0/gdk-pixbuf.loaders
+ sed -i \
+ 's,/build/mts/.*/vmui/../libdir/libconf,/opt/openslx/plugin-repo/vmware/vmpl2.0/root/lib/vmware/libconf,' \
+ root/lib/vmware/libconf/etc/gtk-2.0/gdk-immodules
+ sed -i \
+ 's,/build/mts/.*/vmui/../libdir/libconf,/opt/openslx/plugin-repo/vmware/vmpl2.0/root/lib/vmware/libconf,' \
+ root/lib/vmware/libconf/etc/pango/pango.modules
+ sed -i \
+ 's,/build/mts/.*/vmui/../libdir/libconf,/opt/openslx/plugin-repo/vmware/vmpl2.0/root/lib/vmware/libconf,' \
+ root/lib/vmware/libconf/etc/pango/pangorc
+ sed -i \
+ 's,/etc/pango/pango/,/etc/pango/,' \
+ root/lib/vmware/libconf/etc/pango/pangorc
- echo " * creating /etc/vmware"
- mkdir -p /etc/vmware
+ echo " * creating /etc/vmware"
+ mkdir -p /etc/vmware
echo " * unpacking kernel modules"
cd root/lib/vmware/modules/source
@@ -86,8 +98,8 @@ if [ "${REPLY}" == "YES" ]; then
echo "Press any return to process"
read
- echo " * finishing installation"
-
+ echo " * finishing installation"
+
else
- echo "You didnt't accept the end user license. vmplayer is not installed."
+ echo "You didnt't accept the end user license. vmplayer is not installed."
fi