summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Kurzmann <mok@fluxnetz.de>2010-09-14 17:55:23 +0200
committerKlaus Kurzmann <mok@fluxnetz.de>2010-09-14 17:55:42 +0200
commit6f04cfcf9bdeccb2cc7d9620d8bcb40095eac709 (patch)
tree062037e5c8e6d75a60394a5d054a877c7446df9c
parenta54c780914ea4a12c3e14c0aec406f81b8928b14 (diff)
xserver-common: patch to add a section for nokia900 to xserver-common
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
-rw-r--r--recipes/xserver-common/files/Xserver.n900.patch17
-rw-r--r--recipes/xserver-common/xserver-common_1.33.bb5
-rw-r--r--recipes/xserver-common/xserver-common_1.34.bb3
3 files changed, 22 insertions, 3 deletions
diff --git a/recipes/xserver-common/files/Xserver.n900.patch b/recipes/xserver-common/files/Xserver.n900.patch
new file mode 100644
index 0000000000..4d36f5f713
--- /dev/null
+++ b/recipes/xserver-common/files/Xserver.n900.patch
@@ -0,0 +1,17 @@
+diff -uri xserver-common-1.33.orig/X11/xserver-common xserver-common-1.33/X11/xserver-common
+--- xserver-common-1.33.orig/X11/xserver-common 2010-09-14 17:10:35.955430177 +0200
++++ xserver-common-1.33/X11/xserver-common 2010-09-14 17:17:12.484423440 +0200
+@@ -132,6 +132,13 @@
+ "nokia_n800" | "nokia_rx-44" | "nokia_n770")
+ ARGS="$ARGS -screen ${SCREEN_SIZE}"
+ DPI="225" ;;
++ "nokia_rx-51_board" )
++ DPI="267"
++ if [ "$XSERVER" != "Xorg" ] ; then
++ ARGS="$ARGS -screen ${SCREEN_SIZE}"
++ else
++ ARGS="$ARGS -dpi ${DPI} -nocursor"
++ fi ;;
+ "gta01" )
+ DPI="280"
+ if [ "$XSERVER" != "Xorg" ] ; then
diff --git a/recipes/xserver-common/xserver-common_1.33.bb b/recipes/xserver-common/xserver-common_1.33.bb
index 9ebaa3150d..ff5711f768 100644
--- a/recipes/xserver-common/xserver-common_1.33.bb
+++ b/recipes/xserver-common/xserver-common_1.33.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
-PR = "r7"
+PR = "r8"
PACKAGE_ARCH = "all"
DEFAULT_PREFERENCE = "-1"
@@ -30,7 +30,8 @@ SRC_URI_append_shr = " file://89xTs_Calibrate.xinput_calibrator.patch \
file://90xXWindowManager.patch \
file://Xserver.add.nocursor.for.gta.patch \
file://Xserver.add.xserver-system.patch \
- file://Xserver.add.dpi.for.gta.patch"
+ file://Xserver.add.dpi.for.gta.patch \
+ file://Xserver.n900.patch"
do_install_append() {
install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"
diff --git a/recipes/xserver-common/xserver-common_1.34.bb b/recipes/xserver-common/xserver-common_1.34.bb
index 7f2308c4bb..0254965351 100644
--- a/recipes/xserver-common/xserver-common_1.34.bb
+++ b/recipes/xserver-common/xserver-common_1.34.bb
@@ -28,7 +28,8 @@ SRC_URI_append_shr = " file://89xTs_Calibrate.xinput_calibrator.patch \
file://90xXWindowManager.patch \
file://Xserver.add.nocursor.for.gta.patch \
file://Xserver.add.xserver-system.patch \
- file://Xserver.add.dpi.for.gta.patch"
+ file://Xserver.add.dpi.for.gta.patch \
+ file://Xserver.n900.patch"
do_install_append() {
install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"