gwsmhg

Peter Williams pwil3058 at bigpond.net.au
Wed Jun 17 19:49:31 CDT 2009


Alex K wrote:
> Hi!
> 
> Could anyone please help me installing gwsmhg on Windows? I didn't find 
> ready-to-use binary package, so I tried to run it from Python scripts 
> myself. But I stuck: 
> python25 - yes
> pygtk2 - yes
> pygtksourceview - fail
> pycairo - yes
> pygobject2 - yes
> 
> As I understood, pygtksourceview version 1 required?

It shouldn't be as I'm using pygtksourceview-2.4.0-1.fc10.x86_64 on my 
development machine.

> I can't find 
> compiled module for Python. (no problems finding pygtksourceview2, but 
> gwsmhg doesn't work with it)
> 

I suspect this a problem with pygtksourceview2 on Windows rather than 
with gwsmhg.  Does it work with other programs?

The next release of gwsmhg will have a work around for this problem by 
using the normal gtk.TextView widget when pygtksourceview import fails. 
  This will mean that some minor features (such as a right margin 
indicator at 80 characters) will be lost.

In the meantime, the attached patch to v-0.4 should do the same trick.

Could you let me know if it works?  Plus any other problems encountered 
on Windows as I am unable to test on Windows at the moment (although I 
am trying to resurrect an old XP laptop with a broken screen, by 
plugging it into a TV, to do testing in the future)?

Thanks
Peter
PS Any help in building a "ready to use" Windows' version will be 
appreciated.  At the moment, I just use Python's distutils module to 
build the Windows installer.
-- 
Peter Williams                                   pwil3058 at bigpond.net.au

"Learning, n. The kind of ignorance distinguishing the studious."
  -- Ambrose Bierce
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: windows_fudge.patch
Url: http://selenic.com/pipermail/mercurial-devel/attachments/20090618/84af2c20/attachment.txt 


More information about the Mercurial-devel mailing list