summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/builds.pm11
-rwxr-xr-xtools/configure6
-rwxr-xr-xtools/genlang10
-rw-r--r--tools/rbspeex/rbspeex.c2
4 files changed, 20 insertions, 9 deletions
diff --git a/tools/builds.pm b/tools/builds.pm
index a271d43327..e11b527a1f 100644
--- a/tools/builds.pm
+++ b/tools/builds.pm
@@ -674,6 +674,17 @@ sub allbuilds {
},
'enabled' => 1,
},
+ 'turkce' => {
+ 'lang' => 'turkce',
+ 'name' => 'Türkçe (Turkish)',
+ 'short' => 'tr',
+ 'defengine' => 'espeak',
+ 'engines' => {
+ 'espeak' => '-vtr',
+ 'gtts' => '-l tr',
+ },
+ 'enabled' => 1,
+ },
);
sub bylang {
diff --git a/tools/configure b/tools/configure
index 3e66785af4..67c0b6a418 100755
--- a/tools/configure
+++ b/tools/configure
@@ -4054,7 +4054,7 @@ fi
appextra="recorder:gui"
plugins="yes"
tool="$rootdir/tools/scramble -add=fiiom3k "
- boottool="" # not used
+ boottool="$rootdir/tools/mkspl-x1000 -type=nand -ppb=2 -bpp=2 "
output="rockbox.m3k"
bootoutput="bootloader.m3k"
sysfontbl="16-Terminus"
@@ -4078,7 +4078,7 @@ fi
appextra="recorder:gui"
plugins="yes"
tool="$rootdir/tools/scramble -add=shq1 "
- boottool="" # not used
+ boottool="$rootdir/tools/mkspl-x1000 -type=nand -ppb=2 -bpp=2 "
output="rockbox.q1"
bootoutput="bootloader.q1"
sysfontbl="16-Terminus"
@@ -4102,7 +4102,7 @@ fi
appextra="recorder:gui"
plugins="yes"
tool="$rootdir/tools/scramble -add=erosqnative "
- boottool="" # not used
+ boottool="$rootdir/tools/mkspl-x1000 -type=nand -ppb=2 -bpp=2 "
output="rockbox.erosq"
bootoutput="bootloader.erosq"
sysfontbl="16-Terminus"
diff --git a/tools/genlang b/tools/genlang
index 893badb57e..4f7386890d 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -369,6 +369,10 @@ while(<LANG>) {
if($_ =~ /^( *\#|[ \t\n\r]*\z)/) {
# comment or empty line - output it if it's part of the header
+ if ($_ =~ /LANGUAGE_IS_RTL/) {
+ $langoptions |= $LANGUAGE_FLAG_RTL;
+ }
+
if ($header and $sortfile) {
print($_);
}
@@ -485,12 +489,6 @@ while(<LANG>) {
}
undef @phrase;
} # end of </phrase>
- elsif($part eq "/options") {
- # closing the options
- if ($options{'rtl'}) {
- $langoptions |= $LANGUAGE_FLAG_RTL;
- }
- } # end of </options>
# starts with a slash, this _ends_ this section
$m = pop @m; # get back old value, the previous level's tag
diff --git a/tools/rbspeex/rbspeex.c b/tools/rbspeex/rbspeex.c
index 88b18c7c85..66b8aeb19c 100644
--- a/tools/rbspeex/rbspeex.c
+++ b/tools/rbspeex/rbspeex.c
@@ -139,7 +139,9 @@ bool encode_file(FILE *fin, FILE *fout, float quality, int complexity,
int i, tmp, target_sr, numchan, bps, sr, numsamples, frame_size, lookahead;
int nbytes;
bool ret = true;
+#if defined(__BIG_ENDIAN__)
int a;
+#endif
if (!get_wave_metadata(fin, &numchan, &bps, &sr, &numsamples)) {
snprintf(errstr, errlen, "invalid WAV file");