[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.1.1.4-198-gfda139b
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:29:03 CET 2014
The branch, build-baikal has been updated
via fda139b77518b962f14aeae5cf3c3e1cf934b4d2 (commit)
from 6d336a746e1706cb521b4aa26fa626f1d3c219de (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 2 ++
x2go/pulseaudio.py | 6 ++++++
2 files changed, 8 insertions(+)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 9fcf3be..c9aa1b4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -96,6 +96,8 @@ python-x2go (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
- Fill session profile configurations with missing default values and then
detect the profile meta type.
- Support published applications that have to be run in a terminal window.
+ - Make sure that pulseaudio.exe has its PID directory. Otherwise it will fail
+ to start the first time if the user is new to X2Go.
* Depend on python-xlib.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Sat, 28 Sep 2012 01:44:21 +0100
diff --git a/x2go/pulseaudio.py b/x2go/pulseaudio.py
index 8ec6b71..c9b43d3 100644
--- a/x2go/pulseaudio.py
+++ b/x2go/pulseaudio.py
@@ -38,6 +38,9 @@ import os
import threading
import gevent
import copy
+import socket
+
+from defaults import LOCAL_HOME as _LOCAL_HOME
# Python X2Go modules
import log
@@ -97,6 +100,9 @@ class X2goPulseAudio(threading.Thread):
'-L module-waveout',
]
cmd_options = " %s" % " ".join(cmd_options)
+
+ if not os.path.isdir(os.path.join(_LOCAL_HOME, '.pulse', '%s-runtime' % socket.gethostname()):
+ os.mkdir(os.path.join(_LOCAL_HOME, '.pulse', '%s-runtime' % socket.gethostname())
self.logger('starting PulseAudio server with command line: %s%s' % (cmd, cmd_options), loglevel=log.loglevel_DEBUG)
si = win32process.STARTUPINFO()
hooks/post-receive
--
python-x2go.git (Python X2Go Client API)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).
More information about the x2go-commits
mailing list