Commit graph

685 commits

Author SHA1 Message Date
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
Sergey Popov
78d6097467 Made NSIS installer install text files (COPYING, etc) with .txt extension. 2009-02-09 18:43:45 +00:00
Sergey Popov
af9897acaa Added changelog and players_changelog to list of files installed by NSIS. 2009-02-09 13:28:54 +00:00
Sergey Popov
e4e28185af Made scons read version string from src/wesconfig.h instead of config.h.dummy 2009-02-02 17:37:51 +00:00
Gunter Labes
e282467aad Revert "going back to the mysql c++ api"
This reverts commit 2009-01-28T20:38:29Z!thomas.baumhauer@gmail.com.
2009-02-01 11:46:52 +00:00
Thomas Baumhauer
abb77e0d4c going back to the mysql c++ api 2009-01-28 20:38:29 +00:00
Sergey Popov
d444843b39 Fixed an error about missing action with SCons 1.2.0
SCons 1.2.0 barfs if an empty list is passed as an action.
That that was the case with 'uninstall' alias if there were no targets in
'install' alias. Fixed.
2009-01-25 11:05:11 +00:00
Sergey Popov
040c9e072f Generated NSIS script wasn't installing translations since 2009-01-11T13:15:27Z!loonycyborg@gmail.com. Fixed. 2009-01-18 23:39:14 +00:00
Sergey Popov
4c9037f023 Added extra_flags_config option to scons.
Those flags affect configuration and all builds.
2009-01-12 15:16:30 +00:00
Sergey Popov
31b4593e56 Fixed installation of translations.
Made localedirname option actually affect the directory where
translations are installed.
2009-01-11 13:15:27 +00:00
Mark de Wever
d8262df9c5 Disable the new pool allocated by default.
The new allocator seems to give some problems on some systems so disable
by default. The changes haven't been tested on scons and cmake.
2008-12-30 21:03:11 +00:00