Add Modello config for Weston. Remove whitespace from config file. 59/29059/1 accepted/tizen/3.0.m14.3/ivi/20141021.094617 accepted/tizen/ivi/20141021.184606 submit/tizen_3.0.m14.3_ivi/20141021.055643 submit/tizen_ivi/20141021.055605
authorUlf Hofemeier <ulf.hofemeier@linux.intel.com>
Mon, 20 Oct 2014 18:56:00 +0000 (11:56 -0700)
committerUlf Hofemeier <ulf.hofemeier@linux.intel.com>
Mon, 20 Oct 2014 20:20:04 +0000 (13:20 -0700)
This change adds a sub-package to replace the default weston.ini
file with a version containing proper resolution and orientation
for Modello.

Change-Id: I5dfbd5959aad32536628f5a648b38abbd822ab2e
Signed-off-by: Ulf Hofemeier <ulf.hofemeier@linux.intel.com>
packaging/weston-ivi.spec
weston-modello.ini [new file with mode: 0644]

index d3fe476..4ffc748 100644 (file)
@@ -22,6 +22,15 @@ Conflicts:  ico-uxf-weston-plugin
 This package contains Tizen IVI-specific configuration for the Weston
 compositor.
 
+%package config-modello
+Summary:    Tizen IVI Modello Weston configuration
+Group:      Automotive/Configuration
+Requires:   weekeyboard
+Conflicts:  ico-uxf-weston-plugin, weston-ivi-config
+%description config-modello
+This package contains Tizen IVI-specific Modello configuration for the Weston
+compositor.
+
 %prep
 %setup -q
 cp %{SOURCE1001} .
@@ -40,6 +49,14 @@ install -m 0644 weston.sh %{buildroot}%{_sysconfdir}/profile.d/
 %define weston_config_dir %{_sysconfdir}/xdg/weston
 mkdir -p %{buildroot}%{weston_config_dir}
 install -m 0644 weston.ini %{buildroot}%{weston_config_dir}
+install -m 0644 weston-modello.ini %{buildroot}%{weston_config_dir}/weston-modello.ini
+
+%post config-modello
+ln -s  %{weston_config_dir}/weston.ini  %{weston_config_dir}/weston-modello.ini
+
+
+%postun config-modello
+rm %{weston_config_dir}/weston.ini
 
 %files
 %manifest %{name}.manifest
@@ -52,3 +69,7 @@ install -m 0644 weston.ini %{buildroot}%{weston_config_dir}
 %files config
 %manifest %{name}.manifest
 %config %{weston_config_dir}/weston.ini
+
+%files config-modello
+%manifest %{name}.manifest
+%config %{weston_config_dir}/weston-modello.ini
diff --git a/weston-modello.ini b/weston-modello.ini
new file mode 100644 (file)
index 0000000..2692c76
--- /dev/null
@@ -0,0 +1,43 @@
+[core]
+#modules=cms-colord.so
+#shell=desktop-shell.so
+
+[shell]
+background-image=/usr/share/backgrounds/gnome/Aqua.jpg
+background-color=0xff248bd1
+background-type=tile
+panel-color=0xff2a3c4a
+locking=true
+animation=zoom
+startup-animation=fade
+panel=false
+
+[input-method]
+path=/bin/weekeyboard
+
+#[output]
+#name=LVDS1
+#mode=1680x1050
+#transform=90
+#icc_profile=/usr/share/color/icc/colord/Bluish.icc
+
+#[output]
+#name=VGA1
+#mode=173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
+#transform=flipped
+
+#[output]
+#name=X1
+#mode=1024x768
+#transform=flipped-270
+
+#[touchpad]
+#constant_accel_factor = 50
+#min_accel_factor = 0.16
+#max_accel_factor = 1.0
+
+[output]
+name=DP1
+mode=1280x720@60
+transform=90
+