From 66b6fdbb73f90cbb58fe814cdecc58858b584e1e Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 10 Jun 2012 20:28:36 +0200 Subject: wpsbuild: Rewrite to fix various issues and support .fms wpsbuild.pl is enhanced to produce fallback themes that were previously hardcoded in buildzip.pl. It also recognizes resolution strings as regular expressions now so you can specify resolution dependant settings as .: (needed to support single themes on multiple resolutions). The WPSBUILD syntax completely changed as well and it includes the fallback themes as well. Ultimately wpsbuild is also able to install .fms files. Change-Id: Idf5994f17b9750983d7bc3ef583540a8cdae1dde --- tools/buildzip.pl | 78 +------------------------------------------------------ 1 file changed, 1 insertion(+), 77 deletions(-) (limited to 'tools') diff --git a/tools/buildzip.pl b/tools/buildzip.pl index 70445570f8..56bbe6de1a 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl @@ -333,57 +333,6 @@ sub filesize { return $size; } -sub create_failsafefiles { - my ($dir, $remote_depth) = @_; - my $text = "# Dummy file to allow Rockbox to reset to the default skin config. -# Do not edit this file. It's never actually loaded by Rockbox."; - open (FOO, ">$dir/wps/rockbox_failsafe.wps"); - print FOO $text; - close(FOO); - open (FOO, ">$dir/wps/rockbox_failsafe.sbs"); - print FOO $text; - close(FOO); - open (FOO, ">$dir/wps/rockbox_failsafe.fms"); - print FOO $text; - close(FOO); - if ($remote_depth) { - open (FOO, ">$dir/wps/rockbox_failsafe.rwps"); - print FOO $text; - close(FOO); - open (FOO, ">$dir/wps/rockbox_failsafe.rsbs"); - print FOO $text; - close(FOO); - open (FOO, ">$dir/wps/rockbox_failsafe.rfms"); - print FOO $text; - close(FOO); - } - open (FOO, ">$dir/themes/rockbox_failsafe.cfg"); - print FOO <$temp_dir/themes/rockbox_default_icons.cfg"); - print THEME <