Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a5a2240816237487426754b659a1a1b8e3f5aa08)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a5a2240816237487426754b659a1a1b8e3f5aa08)
  • Date: Sat, 15 May 2010 13:09:11 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

python-pypi/sonata/DETAILS | 3 ++-
python-pypi/sonata/HISTORY | 5 +++++
python-pypi/sonata/PRE_BUILD | 4 ++++
python-pypi/sonata/threading.patch | 20 ++++++++++++++++++++
4 files changed, 31 insertions(+), 1 deletion(-)

New commits:
commit a5a2240816237487426754b659a1a1b8e3f5aa08
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

sonata: fixed bug with multithreaded python

diff --git a/python-pypi/sonata/DETAILS b/python-pypi/sonata/DETAILS
index a3a409a..208e287 100755
--- a/python-pypi/sonata/DETAILS
+++ b/python-pypi/sonata/DETAILS
@@ -1,9 +1,10 @@
SPELL=sonata
VERSION=1.6.2.1
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_URL[0]=http://download.berlios.de/$SPELL/$SOURCE

SOURCE_HASH=sha512:8022b69380714e9c3c685c61d0f1e62be087fc2cbd77a55f32008edea53411f8493d416bd0a446ccb52b4b5603ba9f4a00b655af485d739932dc06af69345c27
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
WEB_SITE=http://sonata.berlios.de/
LICENSE[0]=GPL
ENTERED=20061230
diff --git a/python-pypi/sonata/HISTORY b/python-pypi/sonata/HISTORY
index 80e3dea..0fc63cc 100644
--- a/python-pypi/sonata/HISTORY
+++ b/python-pypi/sonata/HISTORY
@@ -1,3 +1,8 @@
+2010-05-15 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1; quoting paths
+ * PRE_BUILD: added, to apply the patch
+ * threading.patch: added, to fix #15848 (sonata bug tracker on
berlios)
+
2009-10-14 Arjan Bouter <abouter AT sourcemage.org>
* DETAILS: updated to 1.6.2.1

diff --git a/python-pypi/sonata/PRE_BUILD b/python-pypi/sonata/PRE_BUILD
new file mode 100755
index 0000000..e87db76
--- /dev/null
+++ b/python-pypi/sonata/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/threading.patch"
diff --git a/python-pypi/sonata/threading.patch
b/python-pypi/sonata/threading.patch
new file mode 100644
index 0000000..7d6906b
--- /dev/null
+++ b/python-pypi/sonata/threading.patch
@@ -0,0 +1,20 @@
+--- sonata/main.py.orig 2009-09-22 01:02:16.000000000 +0400
++++ sonata/main.py 2010-05-15 20:58:27.362298551 +0400
+@@ -961,7 +961,7 @@
+ self.actionGroupProfiles.get_action(index).activate()
+ self.skip_on_profiles_click = False
+ # Connect:
+- self.mpd_connect(force=True)
++ self.mpd_connect(blocking=True, force=True)
+ self.iterate_now()
+
+ def on_disconnectkey_pressed(self, _event):
+@@ -976,7 +976,7 @@
+ def update_status(self):
+ try:
+ if not self.conn:
+- self.mpd_connect()
++ self.mpd_connect(blocking=True)
+ if self.conn:
+ self.iterate_time =
self.iterate_time_when_connected
+ self.status = mpdh.status(self.client)



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a5a2240816237487426754b659a1a1b8e3f5aa08), Vlad Glagolev, 05/15/2010

Archive powered by MHonArc 2.6.24.

Top of Page