maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   New XChat build available (https://talk.maemo.org/showthread.php?t=38927)

fwrnando 2010-02-26 02:13

Re: New XChat build available
 
that only disables it for a single session, at least here, the notifications come back on the next launch.

Isn't there a way to completely remove this plugin/prevent it from being loaded thru some configuration file?

Crogge 2010-02-26 03:46

Re: New XChat build available
 
Yeah on bigger servers the plugin is really annoying because you have to click like 100 messages away.

Crogge 2010-02-27 21:56

Re: New XChat build available
 
Simple hacky solution how to disable the annoying plugin:

Quote:

cd /usr/lib/xchat/plugins/
mv xchat_notify.so xchat_notify.so.bak
Xchat will stop loading the plugin and you can finally use your phone again without tipping hundreds of PMs away.

tlma 2010-02-28 15:43

Re: New XChat build available
 
(Sorry for hijacking the thread, but this thread is listed as the project's bugtracker)

Quote:

Originally Posted by fms (Post 448264)
1) Disabled Python support (XChat did not compile with it on SB2).

XChat is working impressively well on the N900. I'm currently trying to tie it in to espeak so that I can hear what's going on while I'm walking around. There's an XChat plugin to do this, but it's Python based, and Python is disabled.

I was just wondering what the current problems are with using Python, whether there are any plans to implement the XChat Python plugin for the N900 any time soon, or whether anyone has any alternative suggestions for getting my N900 to read me what's happening on IRC :)

fms 2010-02-28 16:43

Re: New XChat build available
 
Quote:

Originally Posted by tlma (Post 549942)
I was just wondering what the current problems are with using Python,

Just what the changelog says - it does not compile in SB2 when Python support is enabled.

Quote:

whether there are any plans to implement the XChat Python plugin for the N900 any time soon,
Well, dunno much about Python plugins but if you make XChat compile in SB2 with Python support enabled, I will gladly include your fixes into the release. You can report your progress right here, in this thread.

qwerty12 2010-02-28 16:44

Re: New XChat build available
 
Quote:

Originally Posted by fms (Post 549983)
Just what the changelog says - it does not compile in SB2 when Python support is enabled.

Why does that matter? It compiles fine in SB1 with Python support enabled. And SB1 is what the Autobuilder uses.

fms 2010-02-28 18:41

Re: New XChat build available
 
Quote:

Originally Posted by qwerty12 (Post 549984)
Why does that matter? It compiles fine in SB1 with Python support enabled. And SB1 is what the Autobuilder uses.

Yes, but I cannot build XChat locally with Python enabled. So, I am unable to test or debug it before committing to autobuilder.

qwerty12 2010-02-28 18:48

Re: New XChat build available
 
Quote:

Originally Posted by fms (Post 550087)
Yes, but I cannot build XChat locally with Python enabled. So, I am unable to test or debug it before committing to autobuilder.

You know what I think of SB2, anyway. :)

It's a one line change in debian/rules -- surely it's not hard to add "--enable-python" before running dpkg-buildpackage to prepare a source package?

fms 2010-02-28 19:04

Re: New XChat build available
 
Quote:

Originally Posted by qwerty12 (Post 550094)
You know what I think SB2, anyway.

Probably the same I think of SB1 :)

Quote:

It's a one line change in debian/rules -- surely it's not hard to add "--enable-python" before running dpkg-buildpackage to prepare a source package?
Well, there is another little wart that comes with it: if XChat is compiled with Python support and there is no Python installed, XChat prints weird error messages on startup (about shared libraries not being found). Given that, the SB2 incompatibility, and the fact that nobody seems to need it (this is the first request for Python in months, and only because there is some obscure plugin that uses it), I simply do not want to mess with Python support.

qwerty12 2010-02-28 19:35

Re: New XChat build available
 
Quote:

Originally Posted by fms (Post 550118)
Well, there is another little wart that comes with it: if XChat is compiled with Python support and there is no Python installed, XChat prints weird error messages on startup (about shared libraries not being found). Given that, the SB2 incompatibility, and the fact that nobody seems to need it (this is the first request for Python in months, and only because there is some obscure plugin that uses it), I simply do not want to mess with Python support.

If Python is installed, then they shouldn't show. :)
The only reason that people may see them is if they don't have (lib)Python installed, and that's possible because I stopped libpython from being added to XChat's dependencies automatically - I figure noone wants it installed automatically if they have no need for it.

Of course, the tradeoff, as you know, is the error messages. I can shrug them off but I can see how they may confuse new users...

True, I have no need for the plugin either, but "every little helps"... =)


All times are GMT. The time now is 08:57.

vBulletin® Version 3.8.8