tortoiseHG for RHEL/CentOS

Waldemar Augustyn waldemar at astyn.com
Wed Dec 26 23:02:13 UTC 2012


On 10/04/2012 09:59 AM, Paul Boddie wrote:
> On 04/10/12 18:12, Waldemar Augustyn wrote:
>> On 10/04/2012 03:02 AM, Paul Boddie wrote:
>>> According to the dependencies for TortoiseHg [1], Qt 4.6 is needed
>>> along with PyQt 4.7. As I remarked earlier, RHEL6.3 provides Qt
>>> 4.6.2, but it looks like it also only provides PyQt 4.6.2. Still, I
>>> can't believe that this is a deal-breaker.
>> Are you saying the dependency could be relaxed or that it would not be
>> difficult to make it work with 4.6.2?
>
> According to the PyQt documentation [2] there are some API changes,
> but the ones listed don't look as if they are too disruptive.
>
> However, having just tried to use PyQt 4.6 with TortoiseHg, I suspect
> that the PyQt and Qt version numbering isn't entirely synchronised:
> PyQt 4.7 seems to add support for Qt 4.6 API features that PyQt 4.6
> doesn't manage to support. Some of the features missing from PyQt 4.6
> could probably be worked around, but it would need someone more
> familiar with them than I am.
>
> Paul
>
> [1]https://bitbucket.org/tortoisehg/thg/wiki/developers/Linux
> [2]
> http://www.riverbankcomputing.com/static/Docs/PyQt4/html/incompatibilities.html#pyqt-v4-7-4
>
I ended up porting the entire qt-4.8 stack with sip, qtwebkit, PyQt4,
and qscintilla to CentOS 6.3.  This allows to run tortoisehg unchanged. 
I used F16 as the base.  It was somwhat involved.  In the end, anything
qt based can no longer be considered CentOS 6.3 but this is fine in my
case.  I certainly wouldn't recommend this approach but it can be done.





More information about the Mercurial mailing list