Package: xchat
Version: 2.8.8-3.1
Severity: normal
Tags: patch

For some strange reason I couldn't put my finger on, the autoloading of
python modules on LIBDIR/plugin directory is just happening to do so on
WIN32 only.
This is pretty trivial patch, which has been already filed on upstream
side, that just takes out this limitation.

Please consider applying it ASAP, since this is pretty important for
python plugins to work out of the box.



Cheers,

Dererk

-- 
BOFH excuse #330:
quantum decoherence

Description: Nicely handle loading python plugins
Author: Dererk <der...@debian.org>, TiN <t...@sluc.org.ar>

Bug: http://sourceforge.net/tracker/?func=detail&aid=3412145&group_id=239&atid=100239
Last-Update: 2011-09-21

--- xchat-2.8.8.orig/plugins/python/python.c
+++ xchat-2.8.8/plugins/python/python.c
@@ -62,6 +62,7 @@
 #include "Python.h"
 #include "structmember.h"
 #include "pythread.h"
+#include "config.h"
 
 #define VERSION_MAJOR 0
 #define VERSION_MINOR 1
@@ -383,10 +384,7 @@ Util_Autoload()
 
 	/* auto-load from ~/.xchat2/ or %APPDATA%\X-Chat 2\ */
 	Util_Autoload_from(xchat_get_info(ph, "xchatdirfs"));
-
-#ifdef WIN32	/* also auto-load C:\Program Files\XChat\Plugins\*.py */
 	Util_Autoload_from(XCHATLIBDIR"/plugins");
-#endif
 }
 
 static char *

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to