Initial packaging of Tizen IVI demo config (xorg.conf) 02/1902/1
authorGeoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Tue, 4 Sep 2012 21:46:17 +0000 (23:46 +0200)
committerGeoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Tue, 4 Sep 2012 21:46:17 +0000 (23:46 +0200)
packaging/ivi-demo-config.spec [new file with mode: 0644]
xorg.conf [new file with mode: 0644]

diff --git a/packaging/ivi-demo-config.spec b/packaging/ivi-demo-config.spec
new file mode 100644 (file)
index 0000000..e513a3f
--- /dev/null
@@ -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 (file)
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