public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emulation/vmware-workstation/files/6.5.2.156735: vmware-player-extras.py.patch vmware-player.py.patch vmware-vix.py.patch vmware-workstation.py.patch
@ 2009-04-07  9:07 Mike Auty (ikelos)
  0 siblings, 0 replies; only message in thread
From: Mike Auty (ikelos) @ 2009-04-07  9:07 UTC (permalink / raw
  To: gentoo-commits

ikelos      09/04/07 09:07:24

  Added:                vmware-player-extras.py.patch
                        vmware-player.py.patch vmware-vix.py.patch
                        vmware-workstation.py.patch
  Log:
  Add in vmware-workstation files for 6.5.2.156725 (why didn't repoman add theses?)

Revision  Changes    Path
1.1                  app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player-extras.py.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player-extras.py.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player-extras.py.patch?rev=1.1&content-type=text/plain

Index: vmware-player-extras.py.patch
===================================================================
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):



1.1                  app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player.py.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player.py.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-player.py.patch?rev=1.1&content-type=text/plain

Index: vmware-player.py.patch
===================================================================
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')



1.1                  app-emulation/vmware-workstation/files/6.5.2.156735/vmware-vix.py.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-vix.py.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-vix.py.patch?rev=1.1&content-type=text/plain

Index: vmware-vix.py.patch
===================================================================
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):



1.1                  app-emulation/vmware-workstation/files/6.5.2.156735/vmware-workstation.py.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-workstation.py.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/6.5.2.156735/vmware-workstation.py.patch?rev=1.1&content-type=text/plain

Index: vmware-workstation.py.patch
===================================================================
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):






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-07  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07  9:07 [gentoo-commits] gentoo-x86 commit in app-emulation/vmware-workstation/files/6.5.2.156735: vmware-player-extras.py.patch vmware-player.py.patch vmware-vix.py.patch vmware-workstation.py.patch Mike Auty (ikelos)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox