Bug#759079: [pkg-x2go-devel] Bug#759079: Bug#759079: pyhoca-gui: patch for wxPython 3.0

2014-10-20 Thread Olly Betts
Hi Mike,

On Sat, Oct 11, 2014 at 08:17:34AM +, Mike Gabriel wrote:
 Btw. the call-for-translations for PyHoca-GUI upstream is out, I plan
 an upstream release for Wednesday next week. The package for Debian
 will follow immediately (if nothing comes in the way, I HOPE!!!).

I don't see a new upstream release yet - what's the current status?

The release freeze is on November 5th, but packages need to have
migrated from unstable before then, and the aging time is now 10 days,
so the actual cut-off is 10 days before that, which is less than a week
away now (and it would be prudent not to cut things fine in case there's
a problem with the initial upload).

If a new upstream release isn't going to happen today or tomorrow,
I'd suggest that an upload based on either the current upstream release
or a VCS snapshot would be wise.  Or talk to the release team and see
if they'd be OK with a freeze exception for an imminent new upstream
version.

Cheers,
Olly


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#759079: [pkg-x2go-devel] Bug#759079: Bug#759079: pyhoca-gui: patch for wxPython 3.0

2014-10-20 Thread Mike Gabriel
Hi Olly,

the upstream release is out, Debian upload will follow tonight.

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976148

GnuPG Key ID 0x25771B13
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de


- Original message -
 Hi Mike,
 
 On Sat, Oct 11, 2014 at 08:17:34AM +, Mike Gabriel wrote:
  Btw. the call-for-translations for PyHoca-GUI upstream is out, I plan
  an upstream release for Wednesday next week. The package for Debian
  will follow immediately (if nothing comes in the way, I HOPE!!!).
 
 I don't see a new upstream release yet - what's the current status?
 
 The release freeze is on November 5th, but packages need to have
 migrated from unstable before then, and the aging time is now 10 days,
 so the actual cut-off is 10 days before that, which is less than a week
 away now (and it would be prudent not to cut things fine in case there's
 a problem with the initial upload).
 
 If a new upstream release isn't going to happen today or tomorrow,
 I'd suggest that an upload based on either the current upstream release
 or a VCS snapshot would be wise.   Or talk to the release team and see
 if they'd be OK with a freeze exception for an imminent new upstream
 version.
 
 Cheers,
         Olly


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#759079: [pkg-x2go-devel] Bug#759079: Bug#759079: pyhoca-gui: patch for wxPython 3.0

2014-10-12 Thread Olly Betts
On Sat, Oct 11, 2014 at 08:17:34AM +, Mike Gabriel wrote:
 On  Fr 10 Okt 2014 11:25:42 CEST, Olly Betts wrote:
 So in summary, my suggestion would be that the only wx-related
 dependency should be on python-wxgtk3.0.
 
 I will do the above for the upcoming Debian package of pyhoca-gui.
 For the upstream packaging, I need to be able to build against
 Ubuntu lucid / Debian squeeze upwards, so there I will need some
 more versatile dependency logic. The used dependencies worked well
 in the past so I never questioned them.

Since python-wxtools will pull in some version of wxpython, they will
work, but only indirectly, and pulling in some unnecessary packages in
the process.

 If you have any input on a more general depdency setup (that works
 with wxPy 2.8 and wxPy 3.0), any input is appreciated.

You can use:

python-wxgtk3.0|python-wxgtk2.8

Please make sure you put 3.0 first though.

Alternatively, the approach I take for the backports I maintain is to
have a script which adds a new debian/changelog entry and does any
tweaks to dependencies or other parts of the packaging which are needed
for cases like this.

Cheers,
Olly


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#759079: [pkg-x2go-devel] Bug#759079: Bug#759079: pyhoca-gui: patch for wxPython 3.0

2014-10-11 Thread Mike Gabriel

Hi Olly,

On  Fr 10 Okt 2014 11:25:42 CEST, Olly Betts wrote:


Hi Mike,

On Tue, Sep 30, 2014 at 01:11:42PM +, Mike Gabriel wrote:

I fixed the issue upstream [1]. Thanks for your input on this. I
will release pyhoca-gui 0.5.0.0 upstream ASAP.


I noticed the dependencies of pyhoca-gui on wx are rather odd - it
depends on python-wxtools and wx-common, but not python-wxgtk2.8 or
python-wxgtk3.0.

Since the code does import wx, I think it really ought to explicitly
depend on python-wxgtk3.0 (at least once it's updated for 3.0).  If
that's done, then the dependency on python-wxtools appears to be
unnecessary (I can't find any uses of any of the tools actually in that
package in pyhoca-gui), and depending directly on wx-common is unlikely
to be necessary (again, pyhoca-gui doesn't seem to use anything from
that package).

So in summary, my suggestion would be that the only wx-related
dependency should be on python-wxgtk3.0.

Cheers,
Olly


I will do the above for the upcoming Debian package of pyhoca-gui. For  
the upstream packaging, I need to be able to build against Ubuntu  
lucid / Debian squeeze upwards, so there I will need some more  
versatile dependency logic. The used dependencies worked well in the  
past so I never questioned them.


If you have any input on a more general depdency setup (that works  
with wxPy 2.8 and wxPy 3.0), any input is appreciated.


Btw. the call-for-translations for PyHoca-GUI upstream is out, I plan  
an upstream release for Wednesday next week. The package for Debian  
will follow immediately (if nothing comes in the way, I HOPE!!!).


Mike

--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb


pgpMYBsSqztwN.pgp
Description: Digitale PGP-Signatur


Bug#759079: [pkg-x2go-devel] Bug#759079: Bug#759079: pyhoca-gui: patch for wxPython 3.0

2014-10-10 Thread Olly Betts
Hi Mike,

On Tue, Sep 30, 2014 at 01:11:42PM +, Mike Gabriel wrote:
 I fixed the issue upstream [1]. Thanks for your input on this. I
 will release pyhoca-gui 0.5.0.0 upstream ASAP.

I noticed the dependencies of pyhoca-gui on wx are rather odd - it
depends on python-wxtools and wx-common, but not python-wxgtk2.8 or
python-wxgtk3.0.

Since the code does import wx, I think it really ought to explicitly
depend on python-wxgtk3.0 (at least once it's updated for 3.0).  If
that's done, then the dependency on python-wxtools appears to be
unnecessary (I can't find any uses of any of the tools actually in that
package in pyhoca-gui), and depending directly on wx-common is unlikely
to be necessary (again, pyhoca-gui doesn't seem to use anything from
that package).

So in summary, my suggestion would be that the only wx-related
dependency should be on python-wxgtk3.0.

Cheers,
Olly


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#759079: [pkg-x2go-devel] Bug#759079: Bug#759079: pyhoca-gui: patch for wxPython 3.0

2014-09-30 Thread Mike Gabriel

Hi Olly,

On  Sa 20 Sep 2014 09:02:51 CEST, Olly Betts wrote:


On Sat, Sep 20, 2014 at 08:37:12AM +0200, Mike Gabriel wrote:

Once this segfault issue has been fixed, the upstream release is due.
I haven't had time to investigate this, yet. Any input from your side
(with more wx expertise than mine) will be appreciated.


I can certainly take a look.


I fixed the issue upstream [1]. Thanks for your input on this. I will  
release pyhoca-gui 0.5.0.0 upstream ASAP.


Quoting the essence:


--- a/pyhoca/wxgui/launcher.py
+++ b/pyhoca/wxgui/launcher.py
@@ -29,16 +29,13 @@ import gettext
 import subprocess
 import copy

-import gevent.monkey
-gevent.monkey.patch_all()
-
-try:
-import wxversion
-wxversion.select(['3.0', '2.9', '2.8'])
-except: pass
-
 import wx

+# we need to register a wx.App() instance before we load any
+# of the X2Go modules. When importing x2go.*, gevent.monkey_patch_all()
+# is called which seems to break wxPython 3.0...
+_dummy_app = wx.App(redirect=False, clearSigInt=False)
+
 from x2go import X2GOCLIENT_OS
 from x2go import CURRENT_LOCAL_USER
 from x2go import BACKENDS

Mike

[1]  
http://code.x2go.org/gitweb?p=pyhoca-gui.git;a=commitdiff;h=b5dada2c7fd772e90d148c0a1403aef43138ea23




--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb


pgpBHA2oXX8kO.pgp
Description: Digitale PGP-Signatur