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

login
register
mail settings
Submitter lumag
Date Sept. 18, 2011, 11:23 a.m.
Message ID <1316344999-26642-9-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/11639/
State Accepted, archived
Headers show

Comments

lumag - Sept. 18, 2011, 11:23 a.m.
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@gmail.com>
---
 recipes-opie/tasks/task-opie.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

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}"