From: <arn...@us...> - 2007-12-14 15:17:02
|
Revision: 105 http://adchpp.svn.sourceforge.net/adchpp/?rev=105&view=rev Author: arnetheduck Date: 2007-12-14 07:16:58 -0800 (Fri, 14 Dec 2007) Log Message: ----------- python versions other than 2.5 on linux, lua script fix Modified Paths: -------------- adchpp/trunk/plugins/Script/examples/access.lua adchpp/trunk/readme.txt adchpp/trunk/swig/SConscript Modified: adchpp/trunk/plugins/Script/examples/access.lua =================================================================== --- adchpp/trunk/plugins/Script/examples/access.lua 2007-12-10 20:11:15 UTC (rev 104) +++ adchpp/trunk/plugins/Script/examples/access.lua 2007-12-14 15:16:58 UTC (rev 105) @@ -49,9 +49,10 @@ local context_bcast = "[BF]" local context_direct = "[DE]" local context_send = "[BFD]" +local context_hubdirect = "[HDE]" local command_contexts = { - [adchpp.AdcCommand_CMD_STA] = context_hub, + [adchpp.AdcCommand_CMD_STA] = context_hubdirect, [adchpp.AdcCommand_CMD_SUP] = context_hub, [adchpp.AdcCommand_CMD_SID] = context_hub, [adchpp.AdcCommand_CMD_INF] = context_bcast, Modified: adchpp/trunk/readme.txt =================================================================== --- adchpp/trunk/readme.txt 2007-12-10 20:11:15 UTC (rev 104) +++ adchpp/trunk/readme.txt 2007-12-14 15:16:58 UTC (rev 105) @@ -3,7 +3,8 @@ -- Introduction -- -ADCH++ is a hub for the ADC network. +ADCH++ is a hub for the ADC network. It implements the ADC protocol, which can +be found here: http://dcplusplus.sf.net/ADC.html. -- Requirements -- @@ -16,7 +17,6 @@ An administrator/root account (to install as service / run on port < 1024 on unix). A brain (to understand the readme and setup) gcc 4.2+ (linux or mingw) -boost (http://www.boost.org) scons (http://www.scons.org) swig 1.3.33 @@ -25,10 +25,11 @@ On the client side, I've only tested with DC++. -- Building -- -Install boost, swig and scons. Ensure that your compiler is available in the +Install swig and scons. Ensure that your compiler is available in the PATH. To build with gcc (*nix, mingw), run "scons" in the adchpp root folder. To build with msvc (windows), run "scons tools=default" in the adchpp root folder. To build a release build, add "mode=release" to the build line. +For additional build options, type "scons -h". -- Command line options -- Modified: adchpp/trunk/swig/SConscript =================================================================== --- adchpp/trunk/swig/SConscript 2007-12-10 20:11:15 UTC (rev 104) +++ adchpp/trunk/swig/SConscript 2007-12-14 15:16:58 UTC (rev 105) @@ -87,7 +87,7 @@ env.Append(CPPPATH=[incpath]) else: env.Append(CPPPATH=[distutils.sysconfig.get_python_inc()]) - env.Append(LIBS=['python2.4']) + env.Append(LIBS=['python' + sys.version[0:3]]) env.Append(LIBS=['adchpp']) wrapper = build_path + 'python_wrap.cc' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |