This commit is contained in:
Diego Martínez 2012-12-19 02:16:06 -02:00
commit 20490d746a
3 changed files with 29 additions and 2 deletions

View File

@ -1,4 +1,3 @@
IRC Mod for Minetest IRC Mod for Minetest
(C) 2012 Diego Martínez <kaeza@users.sf.net> (C) 2012 Diego Martínez <kaeza@users.sf.net>
@ -20,6 +19,11 @@ For Unix-based systems, you should not have any problems with the C compiler
ISO), since vanilla Puppy does not come with `gcc'. See your Puppy docs for ISO), since vanilla Puppy does not come with `gcc'. See your Puppy docs for
more info about how to install additional SFS files. more info about how to install additional SFS files.
Quick one line build for linux.
git clone https://github.com/kaeza/minetest-irc.git && cd minetest-irc && mkdir build && cd build && cmake .. && make && make pack_mod && cp -R irc <your mod directory>
Plese change the "cp -R irc" to fit your install of minetest.
To compile and "pack" the mod: To compile and "pack" the mod:
- Open a command prompt/terminal and CD to the minetest-irc directory. - Open a command prompt/terminal and CD to the minetest-irc directory.

23
TESTED_ON.txt Normal file
View File

@ -0,0 +1,23 @@
This was successfully tested on the following systems and found to compile, install and work properly in minetest.
ArchLinx
--------
GCC 4.7.2
CMAKE 2.8.10.1
Ubuntu 12.10
------
GCC 4.7.2-2ubuntu1
CMAKE 2.8.9
Fails on:
LinuxMint
---------
GCC 4.5.2
CMAKE 2.8.3

View File

@ -41,7 +41,7 @@ if (not mt_irc.server_nick) then
end end
mt_irc.server = (mt_irc.server or "irc.freenode.net"); mt_irc.server = (mt_irc.server or "irc.freenode.net");
mt_irc.port = (mt_irc.port or 6667); mt_irc.port = (mt_irc.port or 6667);
mt_irc.channel = (mt_irc.channel or "#minetest-irc-testing"); mt_irc.channel = (mt_irc.channel or "#mtgamechatforservers");
mt_irc.dtime = (mt_irc.dtime or 0.2); mt_irc.dtime = (mt_irc.dtime or 0.2);
mt_irc.timeout = (mt_irc.timeout or 60.0); mt_irc.timeout = (mt_irc.timeout or 60.0);
mt_irc.message_format_out = (mt_irc.message_format_out or "<$(nick)> $(message)"); mt_irc.message_format_out = (mt_irc.message_format_out or "<$(nick)> $(message)");