diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-11-21 13:47:56 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-11-21 13:47:56 +0000 |
commit | e5b1a7d4237a9006b6c49c9c1c13b292ca4ecf7c (patch) | |
tree | f0b9dd1cba0a4ee70afd8b6da64a05286f76c380 /tools/buildzip.pl | |
parent | eef21cb18ae4bc7cdf83830554a848e0c733a73d (diff) | |
download | rockbox-e5b1a7d4237a9006b6c49c9c1c13b292ca4ecf7c.tar.gz rockbox-e5b1a7d4237a9006b6c49c9c1c13b292ca4ecf7c.zip |
FS#6321: Universal Image Viewer
This unifies jpeg viewer, png viewer, and bmp viewer to one plugin, image viewer, so that you can navigate through different image formats.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28626 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/buildzip.pl')
-rwxr-xr-x | tools/buildzip.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl index 62413acd30..a3c0172773 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl | |||
@@ -470,8 +470,11 @@ STOP | |||
470 | 470 | ||
471 | find(find_copyfile(qr/\.(rock|ovl|lua)/, abs_path("$temp_dir/rocks/")), 'apps/plugins'); | 471 | find(find_copyfile(qr/\.(rock|ovl|lua)/, abs_path("$temp_dir/rocks/")), 'apps/plugins'); |
472 | 472 | ||
473 | open VIEWERS, "$ROOT/apps/plugins/viewers.config" or | 473 | # exclude entries for the image file types not supported by the imageviewer for the target. |
474 | die "can't open viewers.config"; | 474 | my $viewers = "$ROOT/apps/plugins/viewers.config"; |
475 | my $c="cat $viewers | gcc $cppdef -I. -I$firmdir/export -E -P -include config.h -"; | ||
476 | |||
477 | open VIEWERS, "$c|" or die "can't open viewers.config"; | ||
475 | my @viewers = <VIEWERS>; | 478 | my @viewers = <VIEWERS>; |
476 | close VIEWERS; | 479 | close VIEWERS; |
477 | 480 | ||