[Tizen-submit] 8041: Changes to Tizen/xorg-server

noreply at tizen.org noreply at tizen.org
Thu Aug 1 20:26:17 GMT 2013


Hi,
Michael I Doherty have made the following changes to xorg-server in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #8041

  submit:       Tizen:build/xorg-server(cleanup) -> Tizen


Message:
Submitter: Michael I Doherty <michael.i.doherty at intel.com>
Comments: Cache xkbcomp output for reduced start times
Git project: platform/upstream/xorg-server
Tag: submit/tizen/20130801.202703
Commit: 28424aade82b3899b39a18715984fbdad814493f Enable xkb-cache by default

State:   new        2013-08-01T13:23:04 tizenrobot
Comment: <no comment>
changes files:
--------------

new:
----
  0003-Cache-xkbcomp-output.patch

spec files:
-----------
--- xorg-server.spec
+++ xorg-server.spec
@@ -3,7 +3,7 @@
 Name:           xorg-server
 Version:        1.13.3
 Release:        1
-VCS:            platform/upstream/xorg-server#submit/tizen/20130710.140229-0-g3e4551d1a3686c89216c63935da0e2a6ae8530b8
+VCS:            platform/upstream/xorg-server#submit/tizen/20130801.202703-0-g28424aade82b3899b39a18715984fbdad814493f
 License:        MIT
 Summary:        X Server
 Url:            http://www.x.org
@@ -13,6 +13,7 @@
 # Patches auto-generated by git-buildpackage:
 Patch0:         0001-slp-patch.patch
 Patch1:         0002-do-not-build-gesture-if-disabled.patch
+Patch2:         0003-Cache-xkbcomp-output.patch
 BuildRequires:  libgcrypt-devel
 BuildRequires:  pkgconfig(gestureproto)
 BuildRequires:  pkgconfig(xf86dgaproto)
@@ -86,6 +87,8 @@
 %patch0 -p1
 # 0002-do-not-build-gesture-if-disabled.patch
 %patch1 -p1
+# 0003-Cache-xkbcomp-output.patch
+%patch2 -p1
 cp %{SOURCE1001} .
 
 
@@ -156,6 +159,7 @@
 	--disable-windowswm \
 	--enable-libdrm \
 	--enable-xorg \
+	--enable-xkb-cache \
 	--disable-dmx \
 	--disable-xvfb \
 	--disable-xnest \

other changes:
--------------

++++++ 0003-Cache-xkbcomp-output.patch (new)
--- 0003-Cache-xkbcomp-output.patch
+++ 0003-Cache-xkbcomp-output.patch
@@ -0,0 +1,431 @@
+From: Keith Packard <keithp at keithp.com>
+Date: Fri, 13 Jul 2012 20:08:34 +0000
+Subject: Cache xkbcomp output
+
+Construct a unique filename based on the display name and the RMLVO
+values. If that file contains valid contents, use it. Otherwise,
+compile the keymap to that file and don't unlink it so that it will be
+re-used the next time the server runs.
+
+v2: Only cache files that get written to XKM_OUTPUT_DIR.
+    Add --enable-xkb-cache config option to enable this behaviour
+
+Signed-off-by: Keith Packard <keithp at keithp.com>
+---
+ configure.ac            |    8 ++
+ include/xkb-config.h.in |    3 +
+ include/xkbsrv.h        |    8 +--
+ xkb/ddxLoad.c           |  198 +++++++++++++++++++++++++++++------------------
+ xkb/xkb.c               |    5 +-
+ 5 files changed, 137 insertions(+), 85 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index ca6905a..b102ee9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -521,6 +521,9 @@ AC_ARG_WITH(xkb-path,         AS_HELP_STRING([--with-xkb-path=PATH], [Path to XK
+ AC_ARG_WITH(xkb-output,       AS_HELP_STRING([--with-xkb-output=PATH], [Path to XKB output dir (default: ${datadir}/X11/xkb/compiled)]),
+ 				[ XKBOUTPUT="$withval" ],
+ 				[ XKBOUTPUT="compiled" ])
++AC_ARG_ENABLE(xkb-cache,	AS_HELP_STRING([--enable-xkb-cache],
++					       [Cache xkbcomp output when possible (default: disabled)]),
++					       [XKBCACHE=$enableval], [XKBCACHE=no])
+ AC_ARG_WITH(default-xkb-rules, AS_HELP_STRING([--with-default-xkb-rules=RULES],

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list