sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (acae8827ccf81db3945962f3acf044786f64264e)
- 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 (acae8827ccf81db3945962f3acf044786f64264e)
- Date: Sun, 31 Oct 2010 08:55:58 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
python-pypi/sonata/DETAILS | 2 +-
python-pypi/sonata/HISTORY | 5 +++++
python-pypi/sonata/PRE_BUILD | 1 +
python-pypi/sonata/pygtk222.patch | 15 +++++++++++++++
4 files changed, 22 insertions(+), 1 deletion(-)
New commits:
commit 91618901f9494e9ddf1224fc38352079a222f20c
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
sonata: fixed segfault with new PyGTK
diff --git a/python-pypi/sonata/DETAILS b/python-pypi/sonata/DETAILS
index 208e287..e4970b9 100755
--- a/python-pypi/sonata/DETAILS
+++ b/python-pypi/sonata/DETAILS
@@ -1,6 +1,6 @@
SPELL=sonata
VERSION=1.6.2.1
- PATCHLEVEL=1
+ PATCHLEVEL=2
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_URL[0]=http://download.berlios.de/$SPELL/$SOURCE
SOURCE_HASH=sha512:8022b69380714e9c3c685c61d0f1e62be087fc2cbd77a55f32008edea53411f8493d416bd0a446ccb52b4b5603ba9f4a00b655af485d739932dc06af69345c27
diff --git a/python-pypi/sonata/HISTORY b/python-pypi/sonata/HISTORY
index dc4f805..8f8449b 100644
--- a/python-pypi/sonata/HISTORY
+++ b/python-pypi/sonata/HISTORY
@@ -1,3 +1,8 @@
+2010-10-31 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=2
+ * PRE_BUILD: apply the patch
+ * pygtk222.patch: added, to fix running with recent PyGTK (2.22)
+
2010-07-06 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS: added python dep
diff --git a/python-pypi/sonata/PRE_BUILD b/python-pypi/sonata/PRE_BUILD
index e87db76..ed166b2 100755
--- a/python-pypi/sonata/PRE_BUILD
+++ b/python-pypi/sonata/PRE_BUILD
@@ -1,4 +1,5 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
+patch -p0 < "$SPELL_DIRECTORY/pygtk222.patch" &&
patch -p0 < "$SPELL_DIRECTORY/threading.patch"
diff --git a/python-pypi/sonata/pygtk222.patch
b/python-pypi/sonata/pygtk222.patch
new file mode 100644
index 0000000..67007ba
--- /dev/null
+++ b/python-pypi/sonata/pygtk222.patch
@@ -0,0 +1,15 @@
+--- sonata/main.py.orig 2009-09-22 01:02:16.000000000 +0400
++++ sonata/main.py 2010-10-31 16:40:39.759577403 +0300
+@@ -1993,9 +1993,9 @@
+ # When withdrawing an app, extra configure events (with wrong
coords)
+ # are fired (at least on Openbox). This prevents a user from
moving
+ # the window, withdrawing it, then unwithdrawing it and
finding it in
+- # an older position
+- if not window.props.visible:
+- return
++ # an older position. Broken with recent PyGTK (2.22).
++ # if not window.props.visible:
++ # return
+
+ width, height = window.get_size()
+ if self.config.expanded: self.config.w, self.config.h =
width, height
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (acae8827ccf81db3945962f3acf044786f64264e), Vlad Glagolev, 10/31/2010
Archive powered by MHonArc 2.6.24.