Bug#775153: wesnoth-1.12-tools: Replace data/tools/wmlxgettext with utils/wmlxgettext.
    Oleksandr Gavenko 
    gavenkoa at gmail.com
       
    Fri Jan 16 20:36:40 UTC 2015
    
    
  
On 2015-01-15, Vincent Cheng wrote:
>> Upstream for gettext uses Perl utils/wmlxgettext.
>>
>> Please replace this script by Perl version.
>
> Will do, thanks for the bug report! Incidentally, do you know if there
> are any other obsolete scripts shipped in wesnoth-1.12-tools, or any
> scripts that should be shipped but are not?
Sorry I not ((. Just discover issue and ask on IRC what used for gettext for
WML scripts.
during investigation I check this page:
 * http://wiki.wesnoth.org/Maintenance_tools
Seems that /usr/share/games/wesnoth/1.12/data/tools miss
srv/data/tools/GUI.pyw which is GUI for running wmllint/wmlscope and look nice
for non-tech people. It is good candidate for shipping.
In:
 * http://wiki.wesnoth.org/Translation_Maintainance_Commands#translation_related_utils
many utils that I don't understand that they do but most from src/wesnoth/utils
are in wesnoth-1.12-tools.
If you do this nice job it will be good to place wmllint, wmlscope,
wmlxgettext to PATH though "Debian alternatives system" which is done by
postinst scripts like:
  PRIORITY=27
  FLAVOR=1.12
  ALTERNATIVES="wmllint wmlscope wmlxgettext"
  for i in ${ALTERNATIVES}; do
    update-alternatives --install /usr/bin/$i $i /usr/bin/$i-${FLAVOR} ${PRIORITY}
  done
and prerm scripts like:
  FLAVOR=1.12
  ALTERNATIVES="wmllint wmlscope wmlxgettext"
  update-alternatives --remove $i /usr/bin/$i-${FLAVOR}
So you always install scripts to /usr/bin/wmllint-1.12, /usr/bin/wmllint-1.11,
/usr/bin/wmllint-1.10 and "Debian alternatives system" allow user select which
is better. But this require maintaining PRIORITY thought version upgrades...
-- 
Best regards!
    
    
More information about the Pkg-games-devel
mailing list