Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sun, 08 Nov 2015 22:46:49 UTC Commit: 7b5e9a93cb99fe601a75bb36eddf7db84eb84611 https://github.com/geany/geany/commit/7b5e9a93cb99fe601a75bb36eddf7db84eb846...
Log Message: ----------- Add a deprecation notice when using the Waf build system
As Waf is to be dropped after the 1.26 release, inform the user to better use the Autotools build system.
Modified Paths: -------------- wscript
Modified: wscript 10 lines changed, 10 insertions(+), 0 deletions(-) =================================================================== @@ -349,6 +349,15 @@ but you then may not have a local copy of the HTML manual.''' conf.msg('Use virtual terminal support', conf.options.no_vte and 'no' or 'yes') if revision is not None: conf.msg('Compiling Git revision', revision) + # deprecation warning + _show_deprecation_warning(conf) + + +def _show_deprecation_warning(ctx): + Logs.pprint( + 'RED', + 'The Waf build system is deprecated and will be removed in the removed in Geany 1.27. ' + 'Please use the Autotools build system.')
def options(opt): @@ -393,6 +402,7 @@ def options(opt):
def build(bld): is_win32 = _target_is_win32(bld) + bld.add_post_fun(_show_deprecation_warning)
if bld.cmd == 'clean': _remove_linguas_file()
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).