xserver-kdrive: added HVGA and 320x320 resolutions for Palm devices - close #1687
authorChristiano P. <cris69@solnet.ch>
Mon, 22 Jan 2007 16:57:15 +0000 (16:57 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 22 Jan 2007 16:57:15 +0000 (16:57 +0000)
packages/xorg-xserver/kmode-palm.patch [new file with mode: 0644]
packages/xorg-xserver/xserver-kdrive_X11R7.1-1.1.0.bb

diff --git a/packages/xorg-xserver/kmode-palm.patch b/packages/xorg-xserver/kmode-palm.patch
new file mode 100644 (file)
index 0000000..255e707
--- /dev/null
@@ -0,0 +1,34 @@
+--- kmode.c    2006-05-03 19:48:42.000000000 +0200
++++ xserver/hw/kdrive/src/kmode.c      2006-05-03 19:50:43.000000000 +0200
+@@ -32,6 +32,31 @@
+     /*        H       V       Hz      KHz */
+               /*  FP      BP      BLANK   POLARITY */
++      /* Treo 650 */
++
++    {   320,  320,    64,     16256,
++                  17,     12,     32,     KdSyncNegative,
++                  1,      11,     14,     KdSyncNegative,
++    },
++    
++    {   320,  320,    64,         0,
++                  0,      0,      0,     KdSyncNegative,
++                  0,      0,      0,     KdSyncNegative,
++    },
++      
++      /* LifeDrive/T3/TX modes */
++
++    {   320,  480,    64,     16256,
++                  17,     12,     32,     KdSyncNegative,
++                  1,      11,     14,     KdSyncNegative,
++    },
++    
++    {   480,  320,    64,         0,
++                  0,      0,      0,     KdSyncNegative,
++                  0,      0,      0,     KdSyncNegative,
++    },
++
++
+     /* IPAQ modeline:
+      *
+      * Modeline "320x240"      5.7222 320 337 340 352   240 241 244 254"
index 64a49ae..0de2506 100644 (file)
@@ -1,7 +1,7 @@
 LICENSE = "MIT"
 DEPENDS = "tslib virtual/libsdl xproto libxdmcp xextproto xtrans libxau virtual/libx11 libxext libxrandr fixesproto damageproto libxfont resourceproto compositeproto xcalibrateext recordproto videoproto scrnsaverproto"
 
-PR = "r5"
+PR = "r6"
 
 PROVIDES = "virtual/xserver"
 RPROVIDES = "virtual/xserver"
@@ -44,11 +44,15 @@ SRC_URI = "http://ftp.x.org/pub/X11R7.1/src/xserver/xorg-server-X11R7.1-1.1.0.ta
        file://disable-xf86-dga-xorgcfg.patch;patch=1 \
        file://w100.patch;patch=1 \
        file://enable-tslib.patch;patch=1 \
-       file://xcalibrate.patch;patch=1"
+       file://xcalibrate.patch;patch=1 \
+       file://kmode-palm.patch;patch=1"
 
 SRC_URI_append_mnci   = " file://onlyfb.patch;patch=1"
 SRC_URI_append_poodle = " file://xserver-kdrive-poodle.patch;patch=1"
 PACKAGE_ARCH_poodle = "poodle"
+PACKAGE_ARCH_palmtx = "palmtx"
+PACKAGE_ARCH_palmld = "palmld"
+PACKAGE_ARCH_palmz72 = "palmz72"
 
 S = "${WORKDIR}/xorg-server-X11R7.1-1.1.0"