1 diff -Naur hox_Client~/hoxUtil.cpp hox_Client/hoxUtil.cpp
2 --- hox_Client~/hoxUtil.cpp 2009-12-27 00:05:42.000000000 -0600
3 +++ hox_Client/hoxUtil.cpp 2009-12-27 00:06:40.000000000 -0600
5 wxLogDebug("%s: wxStandardPaths::Get().GetDataDir() = [%s].", __FUNCTION__, base.c_str());
8 - base = ::wxPathOnly(wxStandardPaths::Get().GetExecutablePath()) + "/..";
9 - prefix = "/resource";
10 + base = "/usr/share";
11 + prefix = "/hoxchess";
16 case hoxRT_PIECE: return base + prefix + "/pieces/";
17 case hoxRT_BOARD: return base + prefix + "/boards/";
18 case hoxRT_LOCALE: return base + prefix + "/locale/";
19 - case hoxRT_AI_PLUGIN: return base + "/plugins/";
20 + case hoxRT_AI_PLUGIN: return "/usr/lib/hoxchess/";
22 default /* hoxRT_UNKNOWN */: return "__UNKNOWN__";
24 diff -Naur hox_Client~/Makefile hox_Client/Makefile
25 --- hox_Client~/Makefile 2009-12-27 00:05:42.000000000 -0600
26 +++ hox_Client/Makefile 2009-12-27 00:05:59.000000000 -0600
31 -WX_CXXFLAGS = $(shell wx-config --cxxflags --debug=no)
32 -WX_LDLIBS = $(shell wx-config --libs --debug=no)
33 +WX_CXXFLAGS = $(shell wx-config-2.9 --cxxflags --debug=no)
34 +WX_LDLIBS = $(shell wx-config-2.9 --libs --debug=no)
39 #WX_LDLIBS = $(shell wx-config --libs --debug=yes)
42 -#CXXFLAGS = $(WX_CXXFLAGS) -I../lib/boost_1_41_0 -I../lib/asio-1.4.1/include
43 -CXXFLAGS = $(WX_CXXFLAGS)
44 +CXXFLAGS = $(WX_CXXFLAGS) -I../lib/boost_1_41_0 -I../lib/asio-1.4.1/include
45 +#CXXFLAGS = $(WX_CXXFLAGS)