mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
TAB/whitespace policing - no functional changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16383 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b68a762aef
commit
a32de4f25f
1 changed files with 97 additions and 94 deletions
|
@ -37,7 +37,8 @@ if(!$wpslist) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub getlcdsizes {
|
sub getlcdsizes
|
||||||
|
{
|
||||||
my ($remote) = @_;
|
my ($remote) = @_;
|
||||||
|
|
||||||
open(GCC, ">gcctemp");
|
open(GCC, ">gcctemp");
|
||||||
|
@ -91,7 +92,8 @@ STOP
|
||||||
return ($height, $width, $depth);
|
return ($height, $width, $depth);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub mkdirs {
|
sub mkdirs
|
||||||
|
{
|
||||||
my $wpsdir = $wps;
|
my $wpsdir = $wps;
|
||||||
$wpsdir =~ s/\.(r|)wps//;
|
$wpsdir =~ s/\.(r|)wps//;
|
||||||
mkdir ".rockbox/wps", 0777;
|
mkdir ".rockbox/wps", 0777;
|
||||||
|
@ -106,7 +108,8 @@ sub mkdirs {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub copybackdrop {
|
sub copybackdrop
|
||||||
|
{
|
||||||
#copy the backdrop file into the build dir
|
#copy the backdrop file into the build dir
|
||||||
$dst = $backdrop;
|
$dst = $backdrop;
|
||||||
$dst =~ s/(\.[0-9]*x[0-9]*x[0-9]*)//;
|
$dst =~ s/(\.[0-9]*x[0-9]*x[0-9]*)//;
|
||||||
|
@ -114,7 +117,8 @@ sub copybackdrop {
|
||||||
`$cmd`;
|
`$cmd`;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub copythemefont {
|
sub copythemefont
|
||||||
|
{
|
||||||
#copy the font specified by the theme
|
#copy the font specified by the theme
|
||||||
|
|
||||||
$o=$font;
|
$o=$font;
|
||||||
|
@ -124,22 +128,24 @@ sub copythemefont {
|
||||||
`$cmd`;
|
`$cmd`;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub copythemeicon {
|
sub copythemeicon
|
||||||
|
{
|
||||||
#copy the icon specified by the theme
|
#copy the icon specified by the theme
|
||||||
|
|
||||||
$iconset =~ /\/(.*icons\/(.*))/i;
|
$iconset =~ /\/(.*icons\/(.*))/i;
|
||||||
`cp $ROOT/icons/$2 $1`;
|
`cp $ROOT/icons/$2 $1`;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub copythemeviewericon {
|
sub copythemeviewericon
|
||||||
|
{
|
||||||
#copy the viewer icon specified by the theme
|
#copy the viewer icon specified by the theme
|
||||||
|
|
||||||
$viewericon =~ /\/(.*icons\/(.*))/i;
|
$viewericon =~ /\/(.*icons\/(.*))/i;
|
||||||
`cp $ROOT/icons/$2 $1`;
|
`cp $ROOT/icons/$2 $1`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub copywps
|
||||||
sub copywps {
|
{
|
||||||
# we assume that we copy the WPS files from the same dir the WPSLIST
|
# we assume that we copy the WPS files from the same dir the WPSLIST
|
||||||
# file is located in
|
# file is located in
|
||||||
my $dir;
|
my $dir;
|
||||||
|
@ -214,7 +220,7 @@ MOO
|
||||||
push @out, "statusbar: $statusbar\n";
|
push @out, "statusbar: $statusbar\n";
|
||||||
}
|
}
|
||||||
if($backdrop) {
|
if($backdrop) {
|
||||||
#clip resolution from filename
|
# clip resolution from filename
|
||||||
$backdrop =~ s/(\.[0-9]*x[0-9]*x[0-9]*)//;
|
$backdrop =~ s/(\.[0-9]*x[0-9]*x[0-9]*)//;
|
||||||
push @out, "backdrop: /.rockbox/$backdrop\n";
|
push @out, "backdrop: /.rockbox/$backdrop\n";
|
||||||
}
|
}
|
||||||
|
@ -448,9 +454,6 @@ while(<WPS>) {
|
||||||
else{
|
else{
|
||||||
#print "Unknown line: $l!\n";
|
#print "Unknown line: $l!\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue