sejerpz / vtg

Automatically exported from code.google.com/p/vtg
0 stars 0 forks source link

Project generation fails when project name contains a - dash or other (non-ascii) characters #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
vala-gen-project should normalize project name according to automake rules.

Original issue reported on code.google.com by seje...@gmail.com on 22 Sep 2009 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by seje...@gmail.com on 22 Sep 2009 at 8:20

GoogleCodeExporter commented 9 years ago
From the vala ML:

>By the way, there is a little tiny bug if you are using different encoding.
> Such as, if your distribution language set as Turkish or other character set 
and if you choose the project name like "instant", Upper case of "instant" 
might be different from English one :) gen-project makes the project name 
variable as "İNSTANT" :) 
> 
> 
> Coz upper case of "i" is "İ" in some languages and this makes an error at 
configure and project cannot be created. In this case, I set LANG variable from 
shell as English before calling the process.
> I can add this problem to issue list on the project board If you want.

Project name should be checked to verify that it contains only characters 
allowed by autotools.

Original comment by seje...@gmail.com on 5 Nov 2010 at 1:03

GoogleCodeExporter commented 9 years ago
Also when doing uppercase conversions the non utf8 variant of strup should be 
used: g_ascii_strup

Original comment by seje...@gmail.com on 5 Nov 2010 at 1:06