Commit graph

745 commits

Author SHA1 Message Date
Sergey Popov
275a8c9f73 Removed some cruft. 2010-02-24 00:29:06 +00:00
Jérémy Rosen
53105be56f remove EXPERIMENTAL blocks in source 2010-02-22 20:08:38 +00:00
Alexander van Gessel
d75b0f8cff Remove lua switch from scons,
...wesnoth doesn't compile without it and autotools and cmake have
already dropped the switch
2010-02-06 18:13:11 +01:00
Eric S. Raymond
20792eed8d Nail the default of 'experimental' to False. 2010-01-26 11:11:35 +00:00
Eric S. Raymond
2dbc96bef0 Now that the new pathfind code is working,
...enable it by default in 1.7 (but not 1.8 betas).
2010-01-26 10:31:54 +00:00
Eric S. Raymond
75925deb82 Merge of fendrin's new teleport and tunnel code.
The changes are guarded by the C++ and WML conditional symbol
"EXPERIMENTAL".

The experimental flag is temporarily defaulted off, so those patches
should have no effect on people doing ordinary builds. This may change
once fendrin has the tunnel code fixed and polished.
2010-01-26 06:34:20 +00:00
Eric S. Raymond
0f129764ae Doc typo fix. 2010-01-26 03:16:11 +00:00
Eric S. Raymond
30d0e3935b Add experimental option.
This defaults to 'yes' for odd-numbered (unstable) versions, 'no' for
even-numbered (unstable) versions.  It controls an EXPERIMENTAL
preprocessor symbol, defined only when experimental is 'yes', and an
EXPERIMENTAL automake conditional.

This is meant as a guard option for experimental, developer-only code
that should be disabled in stable versions.  The immediate application
is fendrin's new pathfinding/tunnel code, which we want to carry in
the main codebase for the remainder of 1.7 but be automatically
disabled in 1.8 betas and 1.8 itself.

Implemented for scons and autotools but not yet cmake.
2010-01-26 03:12:25 +00:00
Sergey Popov
a6bee72ded Removed dummy locales from scons. 2009-10-31 22:02:43 +00:00
Sergey Popov
068103c765 Added 'lockfile' option to scons
It uses a lockfile to prevent multiple instances of scons from being run
in the same working copy at the same time.
2009-10-10 11:00:12 +00:00
Chusslove Illich
18dd3c5871 Localized image states are now checked at runtime,
...so that fuzzy localized images are not used if present.
This requires installing the l10n-track file as well.
2009-10-03 16:18:21 +00:00
Sergey Popov
24ec2de877 Fix conditional enabling the 2009-09-24T16:46:12Z!kailoran@gmail.com workaround.
s/env["PLATFORM"]/sys.platform. env["PLATFORM"] is used by cross-compile.
2009-09-25 13:23:37 +00:00
Sergey Popov
d24931ac3a Improve the workaround in 2009-09-24T16:46:12Z!kailoran@gmail.com.
Provide a simple subprocess module based spawner in case if pywin32
extensions aren't available.
2009-09-25 13:13:24 +00:00
Tomasz Śniatowski
659c4562e0 work around a SCons "The command line is too long"...
...problem on windows during linking using code from
http://www.scons.org/wiki/LongCmdLinesOnWin32
2009-09-24 17:46:12 +01:00
Sergey Popov
fe0f94e913 Updated SConstruct to reflect KDE and libnotify notification...
...backends unification.
2009-08-10 09:47:58 +00:00
Sergey Popov
d96f28309d Prevent building of translations if 'wesnoth' target is requested...
...but its dependencies aren't found.
2009-08-08 23:49:44 +00:00
Sergey Popov
5b4ece9bc6 Check for fribidi, X11, etc only if checks for client dependencies succeed.
Check for poll, select and round before all other checks.
2009-08-08 23:49:38 +00:00
Tomasz Śniatowski
1a934ac94b rename editor2 -> editor. Old editor is long dead, long live the new editor! 2009-08-08 12:14:58 +01:00
Sergey Popov
65e0cf6b9e Require boost >= 1.34.1 for wesnothd and require >= 1.35 for the client. 2009-08-03 19:28:12 +00:00
Sergey Popov
d15f17fd01 Bump boost version requirement in SConstruct. 2009-08-01 14:33:16 +00:00
Sergey Popov
5b502fab98 Lowered frbidi version requirement since 0.10.9 seems to work too. 2009-07-12 17:45:29 +00:00
Sergey Popov
36e8937f4d Made scons use pkg-config to check for fribidi. 2009-07-11 12:30:34 +00:00
Sergey Popov
4f4a80dd77 Wesnoth was depending on translations only with dummy_locales enabled. Fixed. 2009-07-08 10:38:54 +00:00
Sergey Popov
0308567800 Added support for kde's desktop notification DBus service.
For now disabled by default. Enabled with 'scons notifications=true
notifications_backend=kde". Compilation requires only QtDBus but they'll
only work if wesnoth is run in a kde4.2 session.
2009-07-05 18:26:21 +00:00
Sergey Popov
e6e2f98710 Added a scons option to relocate build/ dir. 2009-06-27 19:13:15 +00:00
Sergey Popov
39621ecc0d Added support for libnotify desktop notifications to scons. 2009-06-21 10:44:53 +00:00
Sergey Popov
37c98b7a1d Ensure that scons exits with an error...
...if building of a disabled target is requested

either directly or indirectly.
2009-05-03 10:32:00 +00:00
Sergey Popov
4700504d71 SCons was installing irrelevant files to docdir. Fixed. 2009-04-27 11:52:53 +00:00
Sergey Popov
ef5afba9ab Avoid linking programs against external dependencies they don't need.
Don't link wesnothd against pango etc, don't link the game against mysql..
2009-04-27 11:00:14 +00:00
Sergey Popov
1ea53563f6 Disable -Wno-unused -Wno-sign-compare.
Pass -Wno-unused-parameter on strict compiles.
2009-04-25 19:06:08 +00:00
Sergey Popov
3b600d3a6e Check for sendfile() only if header sys/sendfile.h is detected.
Hopefully there aren't any non-Linux platforms that have
have sys/sendfile.h and incompatible sendfile()
2009-04-23 23:00:59 +00:00
Sergey Popov
7e6f6bc001 Added dummy_locales option to scons. 2009-04-12 10:56:43 +00:00
Sergey Popov
1f2baadc6f Removed import of unused module 'sets'. 2009-03-31 14:42:45 +00:00
Sergey Popov
b8b042b788 No longer run config checks on scons -h. 2009-03-31 12:34:50 +00:00
Sergey Popov
762ae57dc2 Check for lua only if it's enabled. 2009-03-23 09:39:17 +00:00
Patrick Parker
996c16d2e8 add a DISABLE_LUA compile option 2009-03-23 03:26:17 +00:00
Sergey Popov
e94dcecf17 Added a custom check for lua. 2009-03-23 01:26:52 +00:00
Sergey Popov
738ddee7b9 Made pkgconfig check add '' around package's name
to relieve check's caller from this responsibility.
2009-03-22 19:53:11 +00:00
Sergey Popov
afa0a16dd6 Added support for lua to scons. 2009-03-22 19:34:20 +00:00
Sergey Popov
08ba416fae Use env.Requires instead of env.Depends...
...to make wesnoth binary depend on translations.
2009-03-20 12:04:59 +00:00
Sergey Popov
41fa038c43 Fix scons warnings about deprecated Options class. 2009-03-20 12:04:53 +00:00
Sergey Popov
b10a1bd3a3 Set scons version requirement to 0.98.3 2009-03-20 12:04:48 +00:00
Sergey Popov
e244502bcd Removed some cruft. 2009-03-20 12:04:43 +00:00
Sergey Popov
e4718e1537 Added config checks for round() and sendfile() to scons. 2009-03-10 14:20:28 +00:00
Sergey Popov
19c0d2eb3b Added hints about build/config.log and --config=force. 2009-03-03 10:14:01 +00:00
Gunter Labes
fcc2aba980 use proper git subcommand invocations 2009-03-01 18:08:26 +00:00
Daniel Franke
d2d21276a2 Remove Python AI, resolving bug #13047 and #13048. 2009-02-23 07:05:50 +00:00
Sergey Popov
2ed55122df Build binaries in src/ with "base" build variant. 2009-02-13 14:09:38 +00:00
Sergey Popov
85cc3202ce Made scons create binaries right in working copy root
instead of creating them in variant dir and then hardlinking them there.
2009-02-13 00:24:44 +00:00
Patrick Parker
21aee16ded check for existence of %HOME% environment variable...
...to prevent invalid key error on some platforms
2009-02-10 03:58:33 +00:00