summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffroy Van Cutsem <geoffroy.vancutsem@intel.com>2012-09-04 23:46:17 +0200
committerGeoffroy Van Cutsem <geoffroy.vancutsem@intel.com>2012-09-04 23:46:17 +0200
commit710cff40935203cf9b6332f792d109878bb26341 (patch)
treec7993dee1823824ad51a4c82f9cd76648eb814a4
downloadivi-demo-config-710cff40935203cf9b6332f792d109878bb26341.tar.gz
ivi-demo-config-710cff40935203cf9b6332f792d109878bb26341.tar.bz2
ivi-demo-config-710cff40935203cf9b6332f792d109878bb26341.zip
Initial packaging of Tizen IVI demo config (xorg.conf)
-rw-r--r--packaging/ivi-demo-config.spec30
-rw-r--r--xorg.conf17
2 files changed, 47 insertions, 0 deletions
diff --git a/packaging/ivi-demo-config.spec b/packaging/ivi-demo-config.spec
new file mode 100644
index 0000000..e513a3f
--- /dev/null
+++ b/packaging/ivi-demo-config.spec
@@ -0,0 +1,30 @@
+Name: ivi-demo-config
+Summary: Custom configs for Tizen IVI demos
+Version: 0.0.1
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+URL: http://www.tizen.org
+Source0: xorg.conf
+Requires: xorg-x11-server
+Conflicts: wayland
+
+%description
+Provides customizations for Tizen IVI demos
+
+%prep
+
+%build
+# >> build pre
+# << build pre
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+
+install -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/X11/xorg.conf
+
+%files
+%defattr(-,root,root,-)
+%config %{_sysconfdir}/X11/xorg.conf
diff --git a/xorg.conf b/xorg.conf
new file mode 100644
index 0000000..b279b4f
--- /dev/null
+++ b/xorg.conf
@@ -0,0 +1,17 @@
+Section "Device"
+ Identifier "Intel GenX"
+ Driver "intel"
+ Option "monitor-VGA1" "driver-screen"
+ Option "monitor-HDMI2" "passenger-screen"
+EndSection
+
+Section "Monitor"
+ Identifier "driver-screen"
+ Option "PreferredMode" "1024x768"
+EndSection
+
+Section "Monitor"
+ Identifier "passenger-screen"
+ Option "PreferredMode" "1024x768"
+ Option "RightOf" "driver-screen"
+EndSection