[oe] [meta-opie 08/17] task-opie: provide defaults for screen resolution

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Sun Sep 18 11:23:10 UTC 2011


Some machine confg files (most notably qemuarm) do not provide
MACHINE_DISPLAY_WIDTH/HEIGHT_PIXELS values. Provide sane (QVGA) defaults
for those variables, as they are currently used only to select taskbar
images packet.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
 recipes-opie/tasks/task-opie.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/recipes-opie/tasks/task-opie.bb b/recipes-opie/tasks/task-opie.bb
index 41d61dc..e4073ef 100644
--- a/recipes-opie/tasks/task-opie.bb
+++ b/recipes-opie/tasks/task-opie.bb
@@ -31,6 +31,8 @@ PACKAGES += "task-opie-everything"
 RDEPENDS_task-opie-base = "opie-init opie-alarm opie-qcop opie-qss opie-quicklauncher \
                            opie-taskbar opie-pics opie-sounds opie-freetype \
                            ttf-dejavu-sans ttf-dejavu-sans-mono"
+MACHINE_DISPLAY_WIDTH_PIXELS ?= "320"
+MACHINE_DISPLAY_HEIGHT_PIXELS ?= "240"
 # Recommend both landscape and portrait backgrounds
 RRECOMMENDS_task-opie-base = "opie-taskbar-images-${MACHINE_DISPLAY_WIDTH_PIXELS}x${MACHINE_DISPLAY_HEIGHT_PIXELS} \
                               opie-taskbar-images-${MACHINE_DISPLAY_HEIGHT_PIXELS}x${MACHINE_DISPLAY_WIDTH_PIXELS}"
-- 
1.7.2.5





More information about the Openembedded-devel mailing list