From: baik Date: Tue, 11 Dec 2012 04:36:47 +0000 (+0900) Subject: [systemd] add target specific code X-Git-Tag: 2.1b_release^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30dc25f5a80ee165c736500a938703413f4a2ca6;p=apps%2Fhome%2Fcharging-animation.git [systemd] add target specific code it is just temporary code for systemd. it should be correctly changed later because it is target specific code --- diff --git a/packaging/charging-animation.conf b/packaging/charging-animation.conf new file mode 100644 index 0000000..b89f00d --- /dev/null +++ b/packaging/charging-animation.conf @@ -0,0 +1,19 @@ +CHG_ENV_SUPPORT_FB=0 +CHG_ENV_SUPPORT_DRM=1 + +CHG_ENV_DEV_FB= +CHG_ENV_DEV_DRM_NAME=exynos + +CHG_ENV_LCD_BRIGHT=/sys/class/backlight/s6e8aa0-bl/brightness +CHG_ENV_LCD_BR_DIMM_VAL=0 +CHG_ENV_LCD_BR_NORM_VAL=10 + +CHG_ENV_LCD_BL_ONOFF=/sys/class/graphics/fb3/blank +CHG_ENV_LCD_BL_ON_VAL=0 +CHG_ENV_LCD_BL_OFF_VAL=4 +CHG_ENV_LCD_BL_NORM_VAL= + +CHG_ENV_LCD_XRES=720 +CHG_ENV_LCD_YRES=1280 + +CHG_ENV_KEY_EVENT=/dev/event1 diff --git a/packaging/charging-animation.spec b/packaging/charging-animation.spec index 891d7d6..9588236 100755 --- a/packaging/charging-animation.spec +++ b/packaging/charging-animation.spec @@ -8,6 +8,7 @@ License: Flora Software License Source0: %{name}-%{version}.tar.gz Source100: charging-mode.target Source101: charging-mode.service +Source102: charging-animation.conf BuildRequires: cmake @@ -34,6 +35,11 @@ make %{?jobs:-j%jobs} cd cmake_tmp %make_install +# temoprary HW configuration. it should be seperated. +mkdir -p %{buildroot}/etc/sysconfig +install -m 644 %{SOURCE102} %{buildroot}/etc/sysconfig/charging-animation + + # systemd related mkdir -p %{buildroot}%{_libdir}/systemd/system/ install -m 0644 %{SOURCE100} %{buildroot}%{_libdir}/systemd/system/