[PATCH xserver 1/2] Xinput: replace hard coded X11 version with X server version

Gaetan Nadon memsize at videotron.ca
Thu Sep 29 04:53:15 PDT 2011


Which is more useful.

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 doc/Xinput.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/Xinput.xml b/doc/Xinput.xml
index 1ae7afe..87c6d7f 100644
--- a/doc/Xinput.xml
+++ b/doc/Xinput.xml
@@ -1,20 +1,21 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
-                   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
-
+                   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"[
+ <!ENTITY % defs SYSTEM "/xserver/doc/xml/xserver.ent"> %defs;
+]>
 
 <!-- lifted from troff+ms+XMan by doclifter -->
 <book id="porting">
 
 <bookinfo>
    <title>X11 Input Extension Porting Document</title>
-   <releaseinfo>X Version 11, Release 6.7</releaseinfo>
    <authorgroup>
       <author>
          <firstname>George</firstname><surname>Sachs</surname>
          <affiliation><orgname>Hewlett-Packard</orgname></affiliation>
       </author>
    </authorgroup>
+   <releaseinfo>X server version &xserver.version;</releaseinfo>
    <corpname>X Consortium Standard</corpname>
    <copyright><year>1989</year><holder>Hewlett-Packard Company</holder></copyright>
    <copyright><year>1990</year><holder>Hewlett-Packard Company</holder></copyright>
-- 
1.7.4.1



More information about the xorg-devel mailing list