From 05d16b1d4e8947b23afc64a52ccfccbf2284d97b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Wed, 25 Aug 2010 14:10:25 +0000 Subject: [PATCH] Add 'lowmem' feature to the manual, defined if MEM <= 2 Use it to remove mentions of Doom/mpegplayer/midiplay because these plugins aren't built on such models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27881 a1c6a512-1295-4272-9138-f99709370657 --- apps/features.txt | 4 ++++ manual/plugins/main.tex | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/apps/features.txt b/apps/features.txt index 336e16f2fa..54e6afddf3 100644 --- a/apps/features.txt +++ b/apps/features.txt @@ -262,3 +262,7 @@ usb_hid_mouse #if defined(HAVE_SPDIF_IN) recording_digital #endif + +#if MEMORYSIZE <= 2 +lowmem +#endif diff --git a/manual/plugins/main.tex b/manual/plugins/main.tex index b1020a2b8c..25c09b67bf 100644 --- a/manual/plugins/main.tex +++ b/manual/plugins/main.tex @@ -35,7 +35,7 @@ text files% {\input{plugins/dice.tex}} -\opt{swcodec}{\input{plugins/doom.tex}} +\opt{swcodec}{\nopt{lowmem}{\input{plugins/doom.tex}}} {\input{plugins/flipit.tex}} @@ -139,10 +139,10 @@ option from the \setting{Context Menu} (see \reference{ref:Contextmenu}).} Frotz & \fname{.z1 - .z8} & \\ JPEG Viewer & \fname{.jpg, .jpeg} & \\ Lua scripting language& \fname{.lua} & \\ - \opt{swcodec}{ + \opt{swcodec}{\nopt{lowmem}{ Midiplay & \fname{.mid, .midi} & \\ MPEG Player & \fname{.mpg, .mpeg, .mpv, .m2v} & \\ - } + }} \opt{masf}{ \opt{lcd_bitmap}{ Movie Player & \fname{.rvf} & \\ @@ -180,11 +180,11 @@ option from the \setting{Context Menu} (see \reference{ref:Contextmenu}).} \opt{large_plugin_buffer}{\input{plugins/lua.tex}} -\opt{swcodec}{\input{plugins/midiplay.tex}} +\opt{swcodec}{\nopt{lowmem}{\input{plugins/midiplay.tex}}} \opt{archosrecorder,archosfmrecorder,ondio}{\input{plugins/movieplayer.tex}} -\opt{lcd_bitmap}{\opt{swcodec}{\input{plugins/mpegplayer.tex}}} +\opt{lcd_bitmap}{\opt{swcodec}{\nopt{lowmem}{\input{plugins/mpegplayer.tex}}}} \opt{lcd_bitmap}{\opt{lcd_color}{\input{plugins/pngviewer.tex}}}