diff options
author | Mike Auty <ikelos@gentoo.org> | 2009-04-07 09:07:24 +0000 |
---|---|---|
committer | Mike Auty <ikelos@gentoo.org> | 2009-04-07 09:07:24 +0000 |
commit | 68019c82e09b60d516cdbede07c52ccfb929de7f (patch) | |
tree | 50c1241c70dd9b3a0adb0c4210d46ade28812d8d /app-emulation/vmware-workstation | |
parent | Add in vmware-player files for 2.5.2.156725 (why didn't repoman add theses?) (diff) | |
download | gentoo-2-68019c82e09b60d516cdbede07c52ccfb929de7f.tar.gz gentoo-2-68019c82e09b60d516cdbede07c52ccfb929de7f.tar.bz2 gentoo-2-68019c82e09b60d516cdbede07c52ccfb929de7f.zip |
Add in vmware-workstation files for 6.5.2.156725 (why didn't repoman add theses?)
Diffstat (limited to 'app-emulation/vmware-workstation')
4 files changed, 115 insertions, 0 deletions
diff --git a/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player-extras.py.patch b/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player-extras.py.patch new file mode 100644 index 000000000000..eb9e723058cb --- /dev/null +++ b/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player-extras.py.patch @@ -0,0 +1,14 @@ +diff --git a/vmware-player-extras.py b/vmware-player-extras.py +index 21595b1..e8adf08 100644 +--- a/vmware-player-extras.py ++++ b/vmware-player-extras.py +@@ -6,7 +6,8 @@ VMware Player Extras component installer. + + DEST = LIBDIR/'vmware' + SETTINGS = { 'vmware.fullpath': BINDIR/'vmware', } +-CONF = DEST/'setup/vmware-config' ++import os ++CONF = path(os.environ['WORKDIR'])/'vmware-config.sh' + + + class PlayerExtras(Installer): diff --git a/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player.py.patch b/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player.py.patch new file mode 100644 index 000000000000..49306c33f42e --- /dev/null +++ b/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player.py.patch @@ -0,0 +1,64 @@ +diff --git a/vmware-player.py b/vmware-player.py +index bee22df..d06cca9 100644 +--- a/vmware-player.py ++++ b/vmware-player.py +@@ -6,7 +6,8 @@ VMware Player component installer. + + GCONF_DEFAULTS = 'xml:readwrite:/etc/gconf/gconf.xml.defaults' + DEST = LIBDIR/'vmware' +-CONFIG = DEST/'setup/vmware-config' ++import os ++CONFIG = path(os.environ['WORKDIR'])/'vmware-config.sh' + CUPSLIBDIR = LIBDIR/'cups' + # XXX: LIBDIR should be properly calculated, to make this cleaner + if (PREFIX/'lib64/cups').exists(): +@@ -84,12 +85,12 @@ class Player(Installer): + ret, kvers = output('uname', '-r') + kvers = kvers.strip() + modules = ('vmmon', 'vmnet', 'vmblock', 'vmci', 'vsock') +- base = path('/lib/modules/%s/misc' % kvers) ++ base = path('/this/path/doesnt/exist/lib/modules/%s/misc' % kvers) + + for module in modules: + for ext in ('o', 'ko'): + mod = '%s.%s' % (module, ext) +- (base/mod).remove(ignore_errors=True) ++ # (base/mod).remove(ignore_errors=True) + + def PreUninstall(self, old, new, upgrade): + script = INITSCRIPTDIR/'vmware' +@@ -156,8 +157,8 @@ class Player(Installer): + def PostTransactionInstall(self, old, new, upgrade): + if ENV.get('VMWARE_SKIP_MODULES'): + log.info('Skipping kernel module installation') +- elif run(BINDIR/'vmware-modconfig', '--console', '--install-all') == 0: +- log.info('Successfully installed kernel modules') ++ # elif run(BINDIR/'vmware-modconfig', '--console', '--install-all') == 0: ++ # log.info('Successfully installed kernel modules') + else: + log.info('Unable to install kernel modules') + +@@ -189,8 +190,8 @@ class Player(Installer): + for handler in ('vm', 'vms'): + for gconfType, key, value in settings: + key = key % handler +- run('gconftool-2', '--direct', '--config-source', GCONF_DEFAULTS, +- '--type', gconfType, '--set', key, value) ++ # run('gconftool-2', '--direct', '--config-source', GCONF_DEFAULTS, ++ # '--type', gconfType, '--set', key, value) + + # Instruct all gconfd daemons to reload. + run('killall', '-HUP', 'gconfd-2') +@@ -200,9 +201,9 @@ class Player(Installer): + def _deconfigureVMStreamingHandlers(self): + """ Deconfigures the handlers for vm:// and vms:// used for VM streaming""" + def deconfigureGConf(): +- for handler in ('vm', 'vms'): +- run('gconftool-2', '--direct', '--config-source', GCONF_DEFAULTS, +- '--recursive-unset', '/desktop/gnome/url-handlers/%s' % handler) ++ # for handler in ('vm', 'vms'): ++ # run('gconftool-2', '--direct', '--config-source', GCONF_DEFAULTS, ++ # '--recursive-unset', '/desktop/gnome/url-handlers/%s' % handler) + + # Instruct all gconfd daemons to reload. + run('killall', '-HUP', 'gconfd-2') diff --git a/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-vix.py.patch b/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-vix.py.patch new file mode 100644 index 000000000000..5984bdff95ad --- /dev/null +++ b/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-vix.py.patch @@ -0,0 +1,14 @@ +diff --git a/vmware-vix.py b/vmware-vix.py +index ac64dc5..8fdc2b2 100644 +--- a/vmware-vix.py ++++ b/vmware-vix.py +@@ -4,7 +4,8 @@ Copyright 2007 VMware, Inc. All rights reserved. -- VMware Confidential + VIX component installer. + """ + DEST = LIBDIR/'vmware-vix' +-conf = DEST/'setup/vmware-config' ++import os ++conf = path(os.environ['WORKDIR'])/'vmware-config.sh' + + class VIX(Installer): + def InitializeInstall(self, old, new, upgrade): diff --git a/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-workstation.py.patch b/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-workstation.py.patch new file mode 100644 index 000000000000..da139bbb1318 --- /dev/null +++ b/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-workstation.py.patch @@ -0,0 +1,23 @@ +diff --git a/vmware-workstation.py b/vmware-workstation.py +index 55476d9..8dd4c0a 100644 +--- a/vmware-workstation.py ++++ b/vmware-workstation.py +@@ -4,7 +4,8 @@ Copyright 2008 VMware, Inc. All rights reserved. -- VMware Confidential + VMware Workstation component installer. + """ + DEST = LIBDIR/'vmware' +-conf = DEST/'setup/vmware-config' ++import os ++conf = path(os.environ['WORKDIR'])/'vmware-config.sh' + + class Workstation(Installer): + def PreTransactionInstall(self, old, new, upgrade): +@@ -40,7 +41,7 @@ class Workstation(Installer): + self.AddPermission(DEST/'bin/*', BINARY) + + eclipse = config.Get('vmware-workstation.eclipse') +- eclipse and self.AddTarget(Link, DEST/'eclipse-ivd/com.vmware.bfg_1.0.0', ++ False and self.AddTarget(Link, DEST/'eclipse-ivd/com.vmware.bfg_1.0.0', + Destination(eclipse)/'plugins/com.vmware.bfg_1.0.0') + + def _vmwareMountRunnable(self, vmwareMount): |