upload tizen2.0 source 2.0alpha master 2.0_alpha submit/master/20120920.151134
authorBoram Park <boram1288.park@samsung.com>
Tue, 21 Aug 2012 09:03:57 +0000 (18:03 +0900)
committerBoram Park <boram1288.park@samsung.com>
Tue, 21 Aug 2012 09:03:57 +0000 (18:03 +0900)
34 files changed:
Array.c [changed mode: 0755->0644]
ChangeLog [changed mode: 0755->0644]
Fill.c [changed mode: 0755->0644]
Flush.c [changed mode: 0755->0644]
INSTALL [new file with mode: 0644]
Key.c [changed mode: 0755->0644]
Makefile.am [changed mode: 0755->0644]
NEWS [deleted file]
Read.c [changed mode: 0755->0644]
Unwrap.c [changed mode: 0755->0644]
Wrap.c [changed mode: 0755->0644]
Wrap.h [changed mode: 0755->0644]
Wraphelp.c [changed mode: 0755->0644]
Write.c [changed mode: 0755->0644]
configure.ac [changed mode: 0755->0644]
debian/README.source [deleted file]
debian/changelog [deleted file]
debian/compat [deleted file]
debian/control [deleted file]
debian/copyright [deleted file]
debian/libxdmcp-dev.install [deleted file]
debian/libxdmcp6-udeb.install [deleted file]
debian/libxdmcp6.install [deleted file]
debian/rules [deleted file]
debian/watch [deleted file]
debian/xsfbs/repack.sh [deleted file]
debian/xsfbs/xsfbs.mk [deleted file]
debian/xsfbs/xsfbs.sh [deleted file]
doc/Makefile.am [changed mode: 0755->0644]
doc/xdmcp.xml [changed mode: 0755->0644]
docbook.am [new file with mode: 0644]
include/X11/Xdmcp.h [changed mode: 0755->0644]
packaging/libXdmcp.spec [new file with mode: 0644]
packaging/libxdmcp.spec [deleted file]

diff --git a/Array.c b/Array.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 1ebdd04..ccf2051
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,256 @@
+commit 60aa228de59270fd1b6d838d80095ac00da53342
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date:   Wed Mar 7 19:46:26 2012 -0800
+
+    libXdmcp 1.1.1
+
+    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit a3151f53f0149cd30266474faf8384b93070b8a6
+Author: Matt Dew <marcoz@osource.org>
+Date:   Wed Jan 11 21:44:51 2012 -0700
+
+    informaltable cleanup
+
+    On certain tables, add top and bottom borders to table
+    header and a bottom border to the table. This matches
+    what those tables in the old pdfs looked like.
+
+    the <?dbfo keep-together='always'> prevents tables from
+    splitting across pages. Useful for tiny tables.
+
+    Converting the colwidth to a floating point,
+    IE, 1* -> 1.0* cleans up these build errors:
+    WARNING: table-layout="fixed" and column-width unspecified
+    => falling back to proportional-column-width(1)
+
+    Signed-off-by: Matt Dew <marcoz@osource.org>
+
+commit e2bc94bbeeae5f0482c2c59556c9a3fb421573d2
+Author: Matt Dew <marcoz@osource.org>
+Date:   Tue Oct 4 22:17:41 2011 -0600
+
+    Cleanup IDs and links in doc
+
+    1 - fix the capitalization of the ID attributes to match either the
+         <title> or <funcdef> string it goes with.
+    2 - fix any <linkend>'s that were affected by 1.
+    3 - any <function> in the docs that has an actual funcdef,
+    will become an olink.
+
+    Signed-off-by: Matt Dew <marcoz@osource.org>
+
+commit 896fc25047c6cf372babfaf09ce128754ee00123
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date:   Fri Sep 16 22:16:37 2011 -0700
+
+    Strip trailing whitespace
+
+    Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
+    git diff -w & git diff -b show no diffs from this change
+
+    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit de9cdb570fa19058e4bdf16e592f0ac7a692b7e2
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Thu Sep 15 20:50:30 2011 -0400
+
+    xdmcp: use appropriate markup for author affiliation
+
+    Docbook places the organization name above its divisions.
+
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit d3bc4e5d2abeb2202066a50dda8f65dd45005f58
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Mon Sep 12 10:58:16 2011 -0400
+
+    docs: use the &fullrelvers; entity to set X11 release information
+
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit d918365a388486a1bacd982fa0293b345407025a
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Sun Sep 11 19:49:53 2011 -0400
+
+    docs: remove <productnumber> which is not used by default
+
+    This element is not rendered by default on the title. A template
+    customization is required to display it.
+    X Window System does not have a product number.
+
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit a9b82d7972d225df1a5bf24eb85e109f707113ec
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Thu Sep 8 20:00:00 2011 -0400
+
+    docbook.am: embed css styles inside the HTML HEAD element
+
+    Rather than referring to the external xorg.css stylesheet, embed the content
+    of the file in the html output produced. This is accomplished by using
+    version 1.10 of xorg-xhtml.xsl.
+
+    This makes the whole html docs tree much more relocatable.
+    In addition, it eliminates xorg.css as a runtime file which makes
+    xorg-sgml-doctools a build time only package.
+
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 35ce7db29079636cfa138914ccaa4d951eaff0af
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Wed Sep 7 10:31:04 2011 -0400
+
+    docbook.am: global maintenance update - entities, images and olinking
+
+    Adding support in libX11 for html chunking caused a reorg of docbook.am
+    as well as the xorg-sgml-doctools masterdb for olinking.
+    The parameter img.src.path is added for pdf images.
+    A searchpath to the root builddir is added for local entities, if present.
+
+    The docbook.am makefile hides all the details and is identical for
+    all 22 modules having DocBook documentation. It is included by a thin
+    Makefile.am which requires no docbook knowledge.
+
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit e93e80c3bb4c4fcd71d7671d23949232e7cf9581
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Sun Jun 12 18:39:45 2011 -0400
+
+    Install xml versions of specs even if HAVE_XMLTO is false
+
+    DocBook/XML input source is also a usefull output format that can be viewed
+    with an XML viewer or editor and by some O/S help system.
+
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 32b2263deae34c9c1d83eea3b37c2a43ca256a5f
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Sun Jun 5 16:27:36 2011 -0400
+
+    Install target dbs alongside generated documents
+
+    This matches a change in xorg-sgml-docs whereby the masterdb will look for
+    the target dbs into the same location as the generated documents.
+
+    The target dbs are now installed alongside the generated documents.
+    Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which
+    has the potential of installing outside the package prefix and cause
+    distcheck to fail when user does not have write permission in this package.
+
+    Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11
+
+commit 92bca84bf0d6bc7a5d858b9d356928b2856a53d5
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Sun Feb 27 15:06:18 2011 -0500
+
+    Documentation: add Docbook external references support
+
+    When writing technical documentation, it is often necessary to cross
+    reference to other information. When that other information is not in the
+    current document, additional support is needed, namely <olink>.
+
+    A new feature with version 1.7 of xorg-sgml-doctools adds references to
+    other documents within or outside this package.
+
+    This patch adds technical support for this feature but does not change
+    the content of the documentation as seen by the end user.
+
+    Each book or article must generate a database containing the href
+    of sections that can be referred to from another document. This database
+    is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that
+    the value of DATAROOTDIR for xorg-sgml-doctools and for the package
+    documentation is the same. This forms a virtual document tree.
+
+    This database is consulted by other documents while they are being generated
+    in order to fulfill the missing information for linking.
+    Refer to the xorg-sgml-doctools for further technical information.
+
+    Co-authored-by: Matt Dew <marcoz@osource.org>
+
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit c702d3c41ae28dcc661fca7d8d8d7ca8ce34ef1f
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Wed Feb 2 11:43:41 2011 -0500
+
+    config: comment, minor upgrade, quote and layout configure.ac
+
+    Group statements per section as per Autoconf standard layout
+    Quote statements where appropriate.
+    Autoconf recommends not using dnl instead of # for comments
+
+    Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
+    Use AC_PROG_LIBTOOL to replace the deprecated AM_PROG_LIBTOOL
+    Remove redundant AC_PROG_MAKE_SET included with AM_INIT_AUTOMAKE
+    Add AC_CONFIG_SRCDIR([Makefile.am]) where missing
+    No functional configuration changes
+
+    This helps automated maintenance and release activities.
+    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
+
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 1540933e6eaa78a96b035ec5936e63e3cdd335b2
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Fri Jan 28 19:41:37 2011 -0500
+
+    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
+
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
+commit 28d1dc68440e07b44a8b97eab9a57bd6ae1557ee
+Author: Julien Cristau <jcristau@debian.org>
+Date:   Mon Dec 20 14:12:39 2010 +0100
+
+    Revert "Export only public API symbols"
+
+    Some of the unexported symbols are used by xdm.  See
+    http://lists.x.org/pipermail/xorg-devel/2010-December/017246.html
+
+    This reverts commit b64cac63e0bcdd87bbfd19678552fd7ed1a3b58f.
+
+    Reported-by: Trevor Woerner <twoerner@gmail.com>
+    Signed-off-by: Julien Cristau <jcristau@debian.org>
+
+commit afcb06588e5cc032372c847657fc7883e8f68c59
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date:   Thu Dec 16 19:16:01 2010 -0800
+
+    spec: Fix up eqn to docbook conversion
+
+    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 7d3dd1513b09ea31a85a404473c2f871c507e34f
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date:   Thu Dec 16 17:55:30 2010 -0800
+
+    spec: Fix section titles/nesting
+
+    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit b64cac63e0bcdd87bbfd19678552fd7ed1a3b58f
+Author: Cristian Rodríguez <cristian.rodriguez@opensuse.org>
+Date:   Tue Dec 14 15:40:20 2010 -0500
+
+    Export only public API symbols
+
+    Reviewed-by: Adam Jackson <ajax@redhat.com>
+    Signed-off-by: Cristian Rodríguez <cristian.rodriguez@opensuse.org>
+
+commit fb32c2fc1548cc13bed1643b950130629a9d8197
+Author: Gaetan Nadon <memsize@videotron.ca>
+Date:   Tue Nov 9 13:04:46 2010 -0500
+
+    config: HTML file generation: use the installed copy of xorg.css
+
+    Currenlty the xorg.css file is copied in each location
+    where a DocBook/XML file resides. This produces about
+    70 copies in the $(docdir) install tree.
+
+    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
+
 commit 7db29ff43eb3cdcbfe77c35ecc78c7ca3ddba595
 Author: Alan Coopersmith <alan.coopersmith@oracle.com>
 Date:   Fri Oct 29 15:13:16 2010 -0700
diff --git a/Fill.c b/Fill.c
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/Flush.c b/Flush.c
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/INSTALL b/INSTALL
new file mode 100644 (file)
index 0000000..c9fd2c0
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,290 @@
+Installation Instructions
+*************************
+
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
+2006, 2007, 2008 Free Software Foundation, Inc.
+
+   This file is free documentation; the Free Software Foundation gives
+unlimited permission to copy, distribute and modify it.
+
+Basic Installation
+==================
+
+   Briefly, the shell commands `./configure; make; make install' should
+configure, build, and install this package.  The following
+more-detailed instructions are generic; see the `README' file for
+instructions specific to this package.
+
+   The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation.  It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions.  Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+   It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring.  Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.
+
+   If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release.  If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+   The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'.  You need `configure.ac' if
+you want to change it or regenerate `configure' using a newer version
+of `autoconf'.
+
+The simplest way to compile this package is:
+
+  1. `cd' to the directory containing the package's source code and type
+     `./configure' to configure the package for your system.
+
+     Running `configure' might take a while.  While running, it prints
+     some messages telling which features it is checking for.
+
+  2. Type `make' to compile the package.
+
+  3. Optionally, type `make check' to run any self-tests that come with
+     the package.
+
+  4. Type `make install' to install the programs and any data files and
+     documentation.
+
+  5. You can remove the program binaries and object files from the
+     source code directory by typing `make clean'.  To also remove the
+     files that `configure' created (so you can compile the package for
+     a different kind of computer), type `make distclean'.  There is
+     also a `make maintainer-clean' target, but that is intended mainly
+     for the package's developers.  If you use it, you may have to get
+     all sorts of other programs in order to regenerate files that came
+     with the distribution.
+
+  6. Often, you can also type `make uninstall' to remove the installed
+     files again.
+
+Compilers and Options
+=====================
+
+   Some systems require unusual options for compilation or linking that
+the `configure' script does not know about.  Run `./configure --help'
+for details on some of the pertinent environment variables.
+
+   You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment.  Here
+is an example:
+
+     ./configure CC=c99 CFLAGS=-g LIBS=-lposix
+
+   *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+   You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory.  To do this, you can use GNU `make'.  `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script.  `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+   With a non-GNU `make', it is safer to compile the package for one
+architecture at a time in the source code directory.  After you have
+installed the package for one architecture, use `make distclean' before
+reconfiguring for another architecture.
+
+   On MacOS X 10.5 and later systems, you can create libraries and
+executables that work on multiple system types--known as "fat" or
+"universal" binaries--by specifying multiple `-arch' options to the
+compiler but only a single `-arch' option to the preprocessor.  Like
+this:
+
+     ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+                 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+                 CPP="gcc -E" CXXCPP="g++ -E"
+
+   This is not guaranteed to produce working output in all cases, you
+may have to build one architecture at a time and combine the results
+using the `lipo' tool if you have problems.
+
+Installation Names
+==================
+
+   By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc.  You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX'.
+
+   You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files.  If you
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+   In addition, if you use an unusual directory layout you can give
+options like `--bindir=DIR' to specify different values for particular
+kinds of files.  Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+   If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+   Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System).  The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+   For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Particular systems
+==================
+
+   On HP-UX, the default C compiler is not ANSI C compatible.  If GNU
+CC is not installed, it is recommended to use the following options in
+order to use an ANSI C compiler:
+
+     ./configure CC="cc -Ae"
+
+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
+
+   On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
+parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
+a workaround.  If GNU CC is not installed, it is therefore recommended
+to try
+
+     ./configure CC="cc"
+
+and if that doesn't work, try
+
+     ./configure CC="cc -nodtk"
+
+Specifying the System Type
+==========================
+
+   There may be some features `configure' cannot figure out
+automatically, but needs to determine by the type of machine the package
+will run on.  Usually, assuming the package is built to be run on the
+_same_ architectures, `configure' can figure that out, but if it prints
+a message saying it cannot guess the machine type, give it the
+`--build=TYPE' option.  TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+     CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+     OS KERNEL-OS
+
+   See the file `config.sub' for the possible values of each field.  If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+   If you are _building_ compiler tools for cross-compiling, you should
+use the option `--target=TYPE' to select the type of system they will
+produce code for.
+
+   If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+   If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+   Variables not defined in a site shell script can be set in the
+environment passed to `configure'.  However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost.  In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'.  For example:
+
+     ./configure CC=/usr/local2/bin/gcc
+
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script).
+
+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
+an Autoconf bug.  Until the bug is fixed you can use this workaround:
+
+     CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+`configure' Invocation
+======================
+
+   `configure' recognizes the following options to control how it
+operates.
+
+`--help'
+`-h'
+     Print a summary of all of the options to `configure', and exit.
+
+`--help=short'
+`--help=recursive'
+     Print a summary of the options unique to this package's
+     `configure', and exit.  The `short' variant lists options used
+     only in the top level, while the `recursive' variant lists options
+     also present in any nested packages.
+
+`--version'
+`-V'
+     Print the version of Autoconf used to generate the `configure'
+     script, and exit.
+
+`--cache-file=FILE'
+     Enable the cache: use and save the results of the tests in FILE,
+     traditionally `config.cache'.  FILE defaults to `/dev/null' to
+     disable caching.
+
+`--config-cache'
+`-C'
+     Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+     Do not print messages saying which checks are being made.  To
+     suppress all normal output, redirect it to `/dev/null' (any error
+     messages will still be shown).
+
+`--srcdir=DIR'
+     Look for the package's source code in directory DIR.  Usually
+     `configure' can determine that directory automatically.
+
+`--prefix=DIR'
+     Use DIR as the installation prefix.  *Note Installation Names::
+     for more details, including other options available for fine-tuning
+     the installation locations.
+
+`--no-create'
+`-n'
+     Run the configure checks, but stop before creating any output
+     files.
+
+`configure' also accepts some other, not widely useful, options.  Run
+`configure --help' for more details.
diff --git a/Key.c b/Key.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/NEWS b/NEWS
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/Read.c b/Read.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/Wrap.c b/Wrap.c
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/Wrap.h b/Wrap.h
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 1b962e3..99effdb
@@ -49,8 +49,8 @@
  * development or production of nuclear, chemical, biological weapons or
  * in missile technology programs as specified in the U.S. Export
  * Administration Regulations.
- * 
- * 
+ *
+ *
  * Local Country Import Requirements. The software you are about to
  * download contains cryptography technology. Some countries regulate the
  * import, use and/or export of certain products with cryptography. The
diff --git a/Write.c b/Write.c
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 5de378a..08c046a
@@ -1,53 +1,61 @@
-dnl 
-dnl  Copyright © 2003 Keith Packard, Noah Levitt
-dnl 
-dnl  Permission to use, copy, modify, distribute, and sell this software and its
-dnl  documentation for any purpose is hereby granted without fee, provided that
-dnl  the above copyright notice appear in all copies and that both that
-dnl  copyright notice and this permission notice appear in supporting
-dnl  documentation, and that the name of Keith Packard not be used in
-dnl  advertising or publicity pertaining to distribution of the software without
-dnl  specific, written prior permission.  Keith Packard makes no
-dnl  representations about the suitability of this software for any purpose.  It
-dnl  is provided "as is" without express or implied warranty.
-dnl 
-dnl  KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-dnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
-dnl  EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
-dnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
-dnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
-dnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-dnl  PERFORMANCE OF THIS SOFTWARE.
-dnl
-dnl Process this file with autoconf to create configure.
+#
+#  Copyright © 2003 Keith Packard, Noah Levitt
+#
+#  Permission to use, copy, modify, distribute, and sell this software and its
+#  documentation for any purpose is hereby granted without fee, provided that
+#  the above copyright notice appear in all copies and that both that
+#  copyright notice and this permission notice appear in supporting
+#  documentation, and that the name of Keith Packard not be used in
+#  advertising or publicity pertaining to distribution of the software without
+#  specific, written prior permission.  Keith Packard makes no
+#  representations about the suitability of this software for any purpose.  It
+#  is provided "as is" without express or implied warranty.
+#
+#  KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+#  EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+#  PERFORMANCE OF THIS SOFTWARE.
+#
 
+# Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([libXdmcp], [1.1.0],
+AC_INIT([libXdmcp], [1.1.1],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXdmcp])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
 
-AM_CONFIG_HEADER(config.h)
+# Initialize libtool
+AC_LIBTOOL_WIN32_DLL
+AC_PROG_LIBTOOL
 
-# Require xorg-macros minimum of 1.10 for HAVE_STYLESHEETS in XORG_CHECK_SGML_DOCTOOLS
+# Require xorg-macros minimum of 1.12 for DocBook external references
 m4_ifndef([XORG_MACROS_VERSION],
-         [m4_fatal([must install xorg-macros 1.10 or later before running autoconf/autogen])])
-XORG_MACROS_VERSION(1.10)
+          [m4_fatal([must install xorg-macros 1.12 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.12)
 XORG_DEFAULT_OPTIONS
 XORG_ENABLE_DOCS
-XORG_WITH_XMLTO(0.0.20)
+XORG_WITH_XMLTO(0.0.22)
 XORG_WITH_FOP
-XORG_CHECK_SGML_DOCTOOLS(1.5)
+XORG_WITH_XSLTPROC
+XORG_CHECK_SGML_DOCTOOLS(1.8)
 
+# Checks for programs.
 AC_PROG_LN_S
-AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
-AC_PROG_MAKE_SET
-
-AC_CHECK_FUNCS([srand48 lrand48])
 
+# Checks for libraries.
 AC_SEARCH_LIBS([recvfrom],[socket])
 
+# Checks for library functions.
+AC_CHECK_FUNCS([srand48 lrand48])
+
+# Obtain compiler/linker options for depedencies
 PKG_CHECK_MODULES(XDMCP, xproto)
 
 if test -f ${srcdir}/Wraphelp.c; then
@@ -59,10 +67,11 @@ fi
 
 AM_CONDITIONAL(HASXDMAUTH,test x$HASXDMAUTH = xyes)
 
-dnl Allow checking code with lint, sparse, etc.
+# Allow checking code with lint, sparse, etc.
 XORG_WITH_LINT
 XORG_LINT_LIBRARY([Xdmcp])
 
-AC_OUTPUT([Makefile
-          doc/Makefile
-           xdmcp.pc])
+AC_CONFIG_FILES([Makefile
+               doc/Makefile
+               xdmcp.pc])
+AC_OUTPUT
diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644 (file)
index 34ab4bf..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-------------------------------------------------------
-Quick Guide To Patching This Package For The Impatient
-------------------------------------------------------
-
-1. Make sure you have quilt installed
-2. Unpack the package as usual with "dpkg-source -x"
-3. Run the "patch" target in debian/rules
-4. Create a new patch with "quilt new" (see quilt(1))
-5. Edit all the files you want to include in the patch with "quilt edit" 
-   (see quilt(1)).
-6. Write the patch with "quilt refresh" (see quilt(1))
-7. Run the "clean" target in debian/rules
-
-Alternatively, instead of using quilt directly, you can drop the patch in to 
-debian/patches and add the name of the patch to debian/patches/series.
-
-------------------------------------
-Guide To The X Strike Force Packages
-------------------------------------
-
-The X Strike Force team maintains X packages in git repositories on
-git.debian.org in the pkg-xorg subdirectory. Most upstream packages
-are actually maintained in git repositories as well, so they often
-just need to be pulled into git.debian.org in a "upstream-*" branch.
-Otherwise, the upstream sources are manually installed in the Debian
-git repository.
-
-The .orig.tar.gz upstream source file could be generated this
-"upstream-*" branch in the Debian git repository but it is actually
-copied from upstream tarballs directly.
-
-Due to X.org being highly modular, packaging all X.org applications
-as their own independent packages would have created too many Debian
-packages. For this reason, some X.org applications have been grouped
-into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils,
-x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils.
-Most packages, including the X.org server itself and all libraries
-and drivers are, however maintained independently.
-
-The Debian packaging is added by creating the "debian-*" git branch
-which contains the aforementioned "upstream-*" branch plus the debian/
-repository files.
-When a patch has to be applied to the Debian package, two solutions
-are involved:
-* If the patch is available in one of the upstream branches, it
-  may be git'cherry-picked into the Debian repository. In this
-  case, it appears directly in the .diff.gz.
-* Otherwise, the patch is added to debian/patches/ which is managed
-  with quilt as documented in /usr/share/doc/quilt/README.source.
-
-quilt is actually invoked by the Debian X packaging through a larger
-set of scripts called XSFBS. XSFBS brings some other X specific
-features such as managing dependencies and conflicts due to the video
-and input driver ABIs.
-XSFBS itself is maintained in a separate repository at
-  git://git.debian.org/pkg-xorg/xsfbs.git
-and it is pulled inside the other Debian X repositories when needed.
-
-The XSFBS patching system requires a build dependency on quilt. Also
-a dependency on $(STAMP_DIR)/patch has to be added to debian/rules
-so that the XSFBS patching occurs before the actual build. So the
-very first target of the build (likely the one running autoreconf)
-should depend on $(STAMP_DIR)/patch. It should also not depend on
-anything so that parallel builds are correctly supported (nothing
-should probably run while patching is being done). And finally, the
-clean target should depend on the xsfclean target so that patches
-are unapplied on clean.
-
-When the upstream sources contain some DFSG-nonfree files, they are
-listed in text files in debian/prune/ in the "debian-*" branch of
-the Debian repository. XSFBS' scripts then take care of removing
-these listed files during the build so as to generate a modified
-DFSG-free .orig.tar.gz tarball.
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100755 (executable)
index c7f2b7a..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-libxdmcp (1:1.1.0-1slp2) unstable; urgency=low
-
-  * [X11R7.6] upgrade package
-  * Git: 165.213.180.234:slp/pkgs/xorg/lib/libxdmcp
-  * Tag: libxdmcp_1.1.0-1slp2
-
- -- SooChan Lim <sc1.lim@samsung.com>  Tue, 04 Jan 2011 11:00:22 +0900
-
-libxdmcp (1:1.0.3-2) unstable; urgency=low
-
-  [ Julien Cristau ]
-  * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
-    good reason.  Thanks, Colin Watson!
-  * Remove myself from Uploaders
-
-  [ Cyril Brulebois ]
-  * Add udeb needed for the graphical installer: libxdmcp6-udeb.
-  * Add myself to Uploaders.
-  * Bump Standards-Version from 3.8.3 to 3.8.4 (no changes needed).
-
- -- Cyril Brulebois <kibi@debian.org>  Tue, 09 Mar 2010 02:30:26 +0100
-
-libxdmcp (1:1.0.3-1) unstable; urgency=low
-
-  [ Brice Goglin ]
-  * Add a link to www.X.org and a reference to the upstream module
-    in the long description.
-  * Add upstream URL to debian/copyright.
-
-  [ Timo Aaltonen ]
-  * New upstream release (closes: #555996).
-  * Run autoreconf on build. Add build-deps on automake, libtool
-    and xutils-dev.
-  * Parse space-separated DEB_BUILD_OPTIONS, and handle parallel=N.
-  * Bump Standards-Version to 3.8.3.
-  * Move -dbg package to section debug.
-  * Drop pre-dependency on x11-common from libxdmcp-dev. This was needed
-    for upgrades from sarge.
-
- -- Julien Cristau <jcristau@debian.org>  Wed, 25 Nov 2009 16:28:22 +0100
-
-libxdmcp (1:1.0.2-3) unstable; urgency=low
-
-  * Put libxdmcp-dev in libdevel where it belongs.
-  * Remove Fabio and Branden from Uploaders with their permission.
-  * Add myself to Uploaders.
-  * Bump Standards-Version to 3.7.3.
-  * Drop the XS- prefix from Vcs-* control fields.
-  * libxdmcp6{,-dbg} don't need to depend on x11-common.
-  * Use ${binary:Version} instead of the deprecated ${Source-Version}.
-
- -- Julien Cristau <jcristau@debian.org>  Sun, 18 May 2008 14:42:59 +0200
-
-libxdmcp (1:1.0.2-2) unstable; urgency=low
-
-  * Add "Section" header to binary packages in debian/control, with the values
-    from the override.
-  * Upload to unstable.
-  * Add XS-Vcs-Browser to debian/control.
-
- -- Julien Cristau <jcristau@debian.org>  Wed, 11 Apr 2007 12:36:41 +0200
-
-libxdmcp (1:1.0.2-1) experimental; urgency=low
-
-  * New upstream release.
-  * Drop obsolete CVS info from the descriptions, and add XS-Vcs-Git.
-  * Install the upstream changelog.
-
- -- Julien Cristau <jcristau@debian.org>  Tue, 13 Feb 2007 10:19:24 +0100
-
-libxdmcp (1:1.0.1-2) unstable; urgency=low
-
-  [ Andres Salomon ]
-  * Test for obj-$(DEB_BUILD_GNU_TYPE) before creating it during build;
-    idempotency fix.
-
-  [ Drew Parsons ]
-  * dbg package has priority extra.
-
- -- David Nusinow <dnusinow@debian.org>  Tue, 29 Aug 2006 20:12:48 +0000
-
-libxdmcp (1:1.0.1-1) experimental; urgency=low
-
-  * New upstream release
-  * Version all x11-common dependencies to 1:7.0.0 to match the rest of Debian
-    and shut Debian up
-  * Remove extra dep on x11-common in the -dev package
-  * Bump standards version to 3.7.2.0
-  * Reformat -dev description so that it's not too long on any one line
-  * Bump debhelper compat to 5
-  * Run dh_install with --list-missing
-  * Don't try and install manpages for the -dev package, there aren't any
-
- -- David Nusinow <dnusinow@debian.org>  Sun,  2 Jul 2006 22:13:38 -0400
-
-libxdmcp (1:1.0.0-4) unstable; urgency=low
-
-  * Reorder makeshlib command in rules file so that ldconfig is run
-    properly. Thanks Drew Parsons and Steve Langasek.
-
- -- David Nusinow <dnusinow@debian.org>  Tue, 18 Apr 2006 21:49:58 -0400
-
-libxdmcp (1:1.0.0-3) unstable; urgency=low
-
-  * Upload to unstable
-
- -- David Nusinow <dnusinow@debian.org>  Thu, 23 Mar 2006 22:44:34 -0500
-
-libxdmcp (1:1.0.0-2) experimental; urgency=low
-
-  * Version x11-common dependencies. Thanks Kurt Roeckx. (closes: #351779)
-
- -- David Nusinow <dnusinow@debian.org>  Sun, 19 Mar 2006 23:35:55 -0500
-
-libxdmcp (1:1.0.0-1) experimental; urgency=low
-
-  * First upload to Debian
-  * In debian/rules copy Wraphelp.c to the build directory to allow des code
-    to build. This is an ugly hack and we'll remove it when we can. Thanks
-    Eugene Konev.
-
- -- David Nusinow <dnusinow@debian.org>  Fri,  6 Jan 2006 00:48:12 -0500
-
-libxdmcp (1:0.1.3-2) breezy; urgency=low
-
-  * Add build dependencies: pkg-config, x11proto-core-dev
-  * Change Build-Depends-Indep to Build-Depends.
-
- -- Matthias Klose <doko@ubuntu.com>  Mon, 23 May 2005 20:02:59 +0000
-
-libxdmcp (1:0.1.3-1) breezy; urgency=low
-
-  * First libxdmcp release.
-
- -- Daniel Stone <daniel.stone@ubuntu.com>  Mon, 16 May 2005 22:10:17 +1000
diff --git a/debian/compat b/debian/compat
deleted file mode 100644 (file)
index 7ed6ff8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/debian/control b/debian/control
deleted file mode 100755 (executable)
index 3f0e5b9..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-Source: libxdmcp
-Section: x11
-Priority: optional
-Maintainer: YoungHoon Jung <yhoon.jung@samsung.com>, SangJin Lee <lsj119@samsung.com>, Debian X Strike Force <debian-x@lists.debian.org>
-Uploaders: SooChan Lim <sc1.lim@samsung.com>, David Nusinow <dnusinow@debian.org>, Cyril Brulebois <kibi@debian.org>
-Build-Depends: debhelper (>= 5.0.0), pkg-config, x11proto-core-dev, automake, libtool, xutils-dev (>= 1:7.5~1)
-Standards-Version: 3.8.4
-Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/libxdmcp
-Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/libxdmcp.git
-
-Package: libxdmcp6
-Architecture: any
-Section: libs
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: X11 Display Manager Control Protocol library
- This package provides the main interface to the X11 display manager control
- protocol library, which allows for remote logins to display managers.
- .
- More information about X.Org can be found at:
- <URL:http://www.X.org>
- <URL:http://xorg.freedesktop.org>
- <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
- .
- This module can be found at
- git://anongit.freedesktop.org/git/xorg/lib/libXdmcp
-
-#Package: libxdmcp6-udeb
-#XC-Package-Type: udeb
-#Architecture: any
-#Section: debian-installer
-#Depends: ${shlibs:Depends}, ${misc:Depends}
-#Description: X11 Display Manager Control Protocol library
-# This is a udeb, or a microdeb, for the debian-installer.
-
-Package: libxdmcp6-dbg
-Architecture: any
-Section: debug
-Priority: extra
-Depends: ${shlibs:Depends}, ${misc:Depends}, libxdmcp6 (= ${binary:Version})
-Description: X11 authorisation library (debug package)
- This package provides the main interface to the X11 display manager control
- protocol library, which allows for remote logins to display managers.
- .
- This package contains the debug versions of the library found in libxdmcp6.
- Non-developers likely have little use for this package.
- .
- More information about X.Org can be found at:
- <URL:http://www.X.org>
- <URL:http://xorg.freedesktop.org>
- <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
- .
- This module can be found at
- git://anongit.freedesktop.org/git/xorg/lib/libXdmcp
-
-Package: libxdmcp-dev
-Architecture: any
-Section: libdevel
-Depends: ${shlibs:Depends}, ${misc:Depends}, libxdmcp6 (= ${binary:Version}), x11proto-core-dev
-Description: X11 authorisation library (development headers)
- This package provides the main interface to the X11 display manager control
- protocol library, which allows for remote logins to display managers.
- .
- This package contains the development headers for the library found in 
- libxdmcp6. Non-developers likely have little use for this package.
- .
- More information about X.Org can be found at:
- <URL:http://www.X.org>
- <URL:http://xorg.freedesktop.org>
- <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
- .
- This module can be found at
- git://anongit.freedesktop.org/git/xorg/lib/libXdmcp
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644 (file)
index f4cec19..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-This package was downloaded from
-http://xorg.freedesktop.org/releases/individual/lib/
-
-Copyright 1989, 1998  The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-Author:  Keith Packard, MIT X Consortium
diff --git a/debian/libxdmcp-dev.install b/debian/libxdmcp-dev.install
deleted file mode 100755 (executable)
index 5cceac5..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-usr/include/X11/*
-usr/lib/libXdmcp.a
-usr/lib/libXdmcp.so
-usr/lib/libXdmcp.la
-usr/lib/pkgconfig/xdmcp.pc
diff --git a/debian/libxdmcp6-udeb.install b/debian/libxdmcp6-udeb.install
deleted file mode 100644 (file)
index e9d049b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/libXdmcp.so.6*
diff --git a/debian/libxdmcp6.install b/debian/libxdmcp6.install
deleted file mode 100644 (file)
index e9d049b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/libXdmcp.so.6*
diff --git a/debian/rules b/debian/rules
deleted file mode 100755 (executable)
index 4631b62..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/usr/bin/make -f
-# debian/rules for the Debian libxdmcp package.
-# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
-# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
-# Copyright © 2005 David Nusinow <dnusinow@debian.org>
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# set this to the name of the main shlib's binary package
-PACKAGE = libxdmcp6
-
-include debian/xsfbs/xsfbs.mk
-
-CFLAGS = -Wall -g
-ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
-else
-       CFLAGS += -O2
-endif
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-       NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-       MAKEFLAGS += -j$(NUMJOBS)
-endif
-
-DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
-       confflags += --build=$(DEB_HOST_GNU_TYPE)
-else
-       confflags += --build=$(DEB_HOST_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
-#      confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
-endif
-
-
-build: build-stamp
-build-stamp:
-       dh_testdir
-       autoreconf -vfi
-       test -d obj-$(DEB_BUILD_GNU_TYPE) || mkdir obj-$(DEB_BUILD_GNU_TYPE)
-       cp Wraphelp.c obj-$(DEB_BUILD_GNU_TYPE) #Ick... to allow des building
-       cd obj-$(DEB_BUILD_GNU_TYPE) && \
-       ../configure --prefix=/usr --mandir=\$${prefix}/share/man \
-                    --infodir=\$${prefix}/share/info $(confflags) \
-                    CFLAGS="$(CFLAGS)" 
-       cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE)
-
-       touch build-stamp
-
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp
-
-       rm -f config.cache config.log config.status
-       rm -f */config.cache */config.log */config.status
-       rm -f conftest* */conftest*
-       rm -rf autom4te.cache */autom4te.cache
-       rm -rf obj-*
-       rm -f aclocal.m4 config.guess config.h.in config.sub configure
-       rm -f depcomp install-sh missing mkinstalldirs
-       rm -f ltmain.sh
-       find -name Makefile.in -exec rm -f {} \;
-       #find -name Makefile.in -delete
-
-       dh_clean
-
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       dh_installdirs
-
-       cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-
-#      dh_installdocs
-       dh_install --sourcedir=debian/tmp --list-missing
-#      dh_installchangelogs ChangeLog
-       dh_link
-       dh_strip --dbg-package=$(PACKAGE)-dbg
-       dh_compress
-       dh_fixperms
-       dh_makeshlibs
-#      dh_makeshlibs --add-udeb=$(PACKAGE)-udeb
-       dh_shlibdeps
-       dh_installdeb
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-# Build architecture-independent files here.
-binary-indep: build install
-# Nothing to do
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/watch b/debian/watch
deleted file mode 100644 (file)
index bda9722..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-version=3
-http://xorg.freedesktop.org/releases/individual/lib/ libXdmcp-(.*)\.tar\.gz
diff --git a/debian/xsfbs/repack.sh b/debian/xsfbs/repack.sh
deleted file mode 100644 (file)
index 5935cc9..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if ! [ -d debian/prune ]; then
-       exit 0
-fi
-
-if [ "x$1" != x--upstream-version ]; then
-       exit 1
-fi
-
-version="$2"
-filename="$3"
-
-if [ -z "$version" ] || ! [ -f "$filename" ]; then
-       exit 1
-fi
-
-dir="$(pwd)"
-tempdir="$(mktemp -d)"
-
-cd "$tempdir"
-tar xf "$dir/$filename"
-cat "$dir"/debian/prune/* | while read file; do rm -f */$file; done
-
-tar czf "$dir/$filename" *
-cd "$dir"
-rm -rf "$tempdir"
-echo "Done pruning upstream tarball"
-
-exit 0
diff --git a/debian/xsfbs/xsfbs.mk b/debian/xsfbs/xsfbs.mk
deleted file mode 100644 (file)
index 5e16b10..0000000
+++ /dev/null
@@ -1,276 +0,0 @@
-#!/usr/bin/make -f
-
-# Debian X Strike Force Build System (XSFBS): Make portion
-
-# Copyright 1996 Stephen Early
-# Copyright 1997 Mark Eichin
-# Copyright 1998-2005, 2007 Branden Robinson
-# Copyright 2005 David Nusinow
-#
-# Licensed under the GNU General Public License, version 2.  See the file
-# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
-
-# Originally by Stephen Early <sde1000@debian.org>
-# Modified by Mark W. Eichin <eichin@kitten.gen.ma.us>
-# Modified by Adam Heath <doogie@debian.org>
-# Modified by Branden Robinson <branden@debian.org>
-# Modified by Fabio Massimo Di Nitto <fabbione@fabbione.net>
-# Modified by David Nusinow <dnusinow@debian.org>
-# Acknowledgements to Manoj Srivastava.
-
-# Pass $(DH_OPTIONS) into the environment for debhelper's benefit.
-export DH_OPTIONS
-
-# force quilt to not use ~/.quiltrc and to use debian/patches
-QUILT = QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null
-
-# Set up parameters for the upstream build environment.
-
-# Determine (source) package name from Debian changelog.
-SOURCE_NAME:=$(shell dpkg-parsechangelog -ldebian/changelog \
-                        | grep '^Source:' | awk '{print $$2}')
-
-# Determine package version from Debian changelog.
-SOURCE_VERSION:=$(shell dpkg-parsechangelog -ldebian/changelog \
-                        | grep '^Version:' | awk '{print $$2}')
-
-# Determine upstream version number.
-UPSTREAM_VERSION:=$(shell echo $(SOURCE_VERSION) | sed 's/-.*//')
-
-# Determine the source version without the epoch for make-orig-tar-gz
-NO_EPOCH_VER:=$(shell echo $(UPSTREAM_VERSION) | sed 's/^.://')
-
-# Figure out who's building this package.
-BUILDER:=$(shell echo $${DEBEMAIL:-$${EMAIL:-$$(echo $$LOGNAME@$$(cat /etc/mailname 2>/dev/null))}})
-
-# Find out if this is an official build; an official build has nothing but
-# digits, dots, and/or the codename of a release in the Debian part of the
-# version number.  Anything else indicates an unofficial build.
-OFFICIAL_BUILD:=$(shell VERSION=$(SOURCE_VERSION); if ! expr "$$(echo $${VERSION\#\#*-} | sed 's/\(woody\|sarge\|etch\|lenny\)//g')" : ".*[^0-9.].*" >/dev/null 2>&1; then echo yes; fi)
-
-# Set up parameters for the Debian build environment.
-
-# Determine our architecture.
-BUILD_ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
-# Work around some old-time dpkg braindamage.
-BUILD_ARCH:=$(subst i486,i386,$(BUILD_ARCH))
-# The DEB_HOST_ARCH variable may be set per the Debian cross-compilation policy.
-ifdef DEB_HOST_ARCH
- ARCH:=$(DEB_HOST_ARCH)
-else
- # dpkg-cross sets the ARCH environment variable; if set, use it.
- ifdef ARCH
-  ARCH:=$(ARCH)
- else
-  ARCH:=$(BUILD_ARCH)
- endif
-endif
-
-# $(STAMP_DIR) houses stamp files for complex targets.
-STAMP_DIR:=stampdir
-
-# $(DEBTREEDIR) is where all install rules are told (via $(DESTDIR)) to place
-# their files.
-DEBTREEDIR:=$(CURDIR)/debian/tmp
-
-# All "important" targets have four lines:
-#   1) A target name that is invoked by a package-building tool or the user.
-#      This consists of a dependency on a "$(STAMP_DIR)/"-prefixed counterpart.
-#   2) A line delcaring 1) as a phony target (".PHONY:").
-#   3) A "$(STAMP_DIR)/"-prefixed target which does the actual work, and may
-#   depend on other targets.
-#   4) A line declaring 3) as a member of the $(stampdir_targets) variable; the
-#   "$(STAMP_DIR)/" prefix is omitted.
-#
-# This indirection is needed so that the "stamp" files that signify when a rule
-# is done can be located in a separate "stampdir".  Recall that make has no way
-# to know when a goal has been met for a phony target (like "build" or
-# "install").
-#
-# At the end of each "$(STAMP_DIR)/" target, be sure to run the command ">$@"
-# so that the target will not be run again.  Removing the file will make Make
-# run the target over.
-
-# All phony targets should be declared as dependencies of .PHONY, even if they
-# do not have "($STAMP_DIR)/"-prefixed counterparts.
-
-# Define a harmless default rule to keep things from going nuts by accident.
-.PHONY: default
-default:
-
-# Set up the $(STAMP_DIR) directory.
-.PHONY: stampdir
-stampdir_targets+=stampdir
-stampdir: $(STAMP_DIR)/stampdir
-$(STAMP_DIR)/stampdir:
-       mkdir $(STAMP_DIR)
-       >$@
-
-# Set up the package build directory as quilt expects to find it.
-.PHONY: prepare
-stampdir_targets+=prepare
-prepare: $(STAMP_DIR)/prepare
-$(STAMP_DIR)/prepare: $(STAMP_DIR)/log $(STAMP_DIR)/genscripts
-       >$@
-
-.PHONY: log
-stampdir_targets+=log
-log: $(STAMP_DIR)/log
-$(STAMP_DIR)/log: $(STAMP_DIR)/stampdir
-       mkdir -p $(STAMP_DIR)/log
-
-# Apply all patches to the upstream source.
-.PHONY: patch
-stampdir_targets+=patch
-patch: $(STAMP_DIR)/patch
-$(STAMP_DIR)/patch: $(STAMP_DIR)/prepare
-       if ! [ `which quilt` ]; then \
-               echo "Couldn't find quilt. Please install it or add it to the build-depends for this package."; \
-               exit 1; \
-       fi; \
-       if $(QUILT) next >/dev/null 2>&1; then \
-         echo -n "Applying patches..."; \
-         if $(QUILT) push -a -v >$(STAMP_DIR)/log/patch 2>&1; then \
-           cat $(STAMP_DIR)/log/patch; \
-           echo "successful."; \
-         else \
-           cat $(STAMP_DIR)/log/patch; \
-           echo "failed! (check $(STAMP_DIR)/log/patch for details)"; \
-           exit 1; \
-         fi; \
-       else \
-         echo "No patches to apply"; \
-       fi; \
-       >$@
-
-# Revert all patches to the upstream source.
-.PHONY: unpatch
-unpatch: $(STAMP_DIR)/log
-       rm -f $(STAMP_DIR)/patch
-       @echo -n "Unapplying patches..."; \
-       if $(QUILT) applied >/dev/null 2>/dev/null; then \
-         if $(QUILT) pop -a -v >$(STAMP_DIR)/log/unpatch 2>&1; then \
-           cat $(STAMP_DIR)/log/unpatch; \
-           echo "successful."; \
-         else \
-           cat $(STAMP_DIR)/log/unpatch; \
-           echo "failed! (check $(STAMP_DIR)/log/unpatch for details)"; \
-           exit 1; \
-         fi; \
-       else \
-         echo "nothing to do."; \
-       fi
-
-# Clean the generated maintainer scripts.
-.PHONY: cleanscripts
-cleanscripts:
-       rm -f $(STAMP_DIR)/genscripts
-       rm -f debian/*.config \
-             debian/*.postinst \
-             debian/*.postrm \
-             debian/*.preinst \
-             debian/*.prerm
-
-# Clean the package build tree.
-.PHONY: xsfclean
-xsfclean: cleanscripts unpatch
-       dh_testdir
-       rm -rf .pc
-       rm -rf $(STAMP_DIR)
-       dh_clean
-
-# Remove files from the upstream source tree that we don't need, or which have
-# licensing problems.  It must be run before creating the .orig.tar.gz.
-#
-# Note: This rule is for Debian package maintainers' convenience, and is not
-# needed for conventional build scenarios.
-.PHONY: prune-upstream-tree
-prune-upstream-tree:
-       # Ensure we're in the correct directory.
-       dh_testdir
-       grep -rvh '^#' debian/prune/ | xargs --no-run-if-empty rm -rf
-
-# Verify that there are no offsets or fuzz in the patches we apply.
-#
-# Note: This rule is for Debian package maintainers' convenience, and is not
-# needed for conventional build scenarios.
-.PHONY: patch-audit
-patch-audit: prepare unpatch
-       @echo -n "Auditing patches..."; \
-       >$(STAMP_DIR)/log/patch; \
-       FUZZY=; \
-       while [ -n "$$($(QUILT) next)" ]; do \
-         RESULT=$$($(QUILT) push -v | tee -a $(STAMP_DIR)/log/patch | grep ^Hunk | sed 's/^Hunk.*\(succeeded\|FAILED\).*/\1/');\
-         case "$$RESULT" in \
-           succeeded) \
-             echo "fuzzy patch: $$($(QUILT) top)" \
-               | tee -a $(STAMP_DIR)/log/$$($(QUILT) top); \
-             FUZZY=yes; \
-             ;; \
-           FAILED) \
-             echo "broken patch: $$($(QUILT) next)" \
-               | tee -a $(STAMP_DIR)/log/$$($(QUILT) next); \
-             exit 1; \
-             ;; \
-         esac; \
-       done; \
-       if [ -n "$$FUZZY" ]; then \
-         echo "there were fuzzy patches; please fix."; \
-         exit 1; \
-       else \
-         echo "done."; \
-       fi
-
-# Generate the maintainer scripts.
-.PHONY: genscripts
-stampdir_targets+=genscripts
-genscripts: $(STAMP_DIR)/genscripts
-$(STAMP_DIR)/genscripts: $(STAMP_DIR)/stampdir
-       for FILE in debian/*.config.in \
-                   debian/*.postinst.in \
-                   debian/*.postrm.in \
-                   debian/*.preinst.in \
-                   debian/*.prerm.in; do \
-         if [ -e "$$FILE" ]; then \
-           MAINTSCRIPT=$$(echo $$FILE | sed 's/.in$$//'); \
-           sed -n '1,/^#INCLUDE_SHELL_LIB#$$/p' <$$FILE \
-             | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >$$MAINTSCRIPT.tmp; \
-           cat debian/xsfbs/xsfbs.sh >>$$MAINTSCRIPT.tmp; \
-           sed -n '/^#INCLUDE_SHELL_LIB#$$/,$$p' <$$FILE \
-             | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >>$$MAINTSCRIPT.tmp; \
-           sed -e 's/@SOURCE_VERSION@/$(SOURCE_VERSION)/' \
-               -e 's/@OFFICIAL_BUILD@/$(OFFICIAL_BUILD)/' \
-             <$$MAINTSCRIPT.tmp >$$MAINTSCRIPT; \
-           rm $$MAINTSCRIPT.tmp; \
-         fi; \
-       done
-       # Validate syntax of generated shell scripts.
-       #sh debian/scripts/validate-posix-sh debian/*.config \
-       #                                    debian/*.postinst \
-       #                                    debian/*.postrm \
-       #                                    debian/*.preinst \
-       #                                    debian/*.prerm
-       >$@
-
-SERVERMINVERS = $(shell cat /usr/share/xserver-xorg/serverminver 2>/dev/null)
-VIDEOABI = $(shell cat /usr/share/xserver-xorg/videoabiver 2>/dev/null)
-INPUTABI = $(shell cat /usr/share/xserver-xorg/inputabiver 2>/dev/null)
-SERVER_DEPENDS = xserver-xorg-core (>= $(SERVERMINVERS))
-VIDDRIVER_PROVIDES = xserver-xorg-video-$(VIDEOABI)
-INPDRIVER_PROVIDES = xserver-xorg-input-$(INPUTABI)
-ifeq ($(PACKAGE),)
-PACKAGE=$(shell awk '/^Package:/ { print $$2; exit }' < debian/control)
-endif
-
-.PHONY: serverabi
-serverabi: install
-ifeq ($(SERVERMINVERS),)
-       @echo error: xserver-xorg-dev needs to be installed
-       @exit 1
-else
-       echo "xserver:Depends=$(SERVER_DEPENDS)" >> debian/$(PACKAGE).substvars
-       echo "xviddriver:Provides=$(VIDDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars
-       echo "xinpdriver:Provides=$(INPDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars
-endif
-
-# vim:set noet ai sts=8 sw=8 tw=0:
diff --git a/debian/xsfbs/xsfbs.sh b/debian/xsfbs/xsfbs.sh
deleted file mode 100644 (file)
index 813fd8d..0000000
+++ /dev/null
@@ -1,622 +0,0 @@
-# This is the X Strike Force shell library for X Window System package
-# maintainer scripts.  It serves to define shell functions commonly used by
-# such packages, and performs some error checking necessary for proper operation
-# of those functions.  By itself, it does not "do" much; the maintainer scripts
-# invoke the functions defined here to accomplish package installation and
-# removal tasks.
-
-# If you are reading this within a Debian package maintainer script (e.g.,
-# /var/lib/dpkg/info/PACKAGE.{config,preinst,postinst,prerm,postrm}), you can
-# skip past this library by scanning forward in this file to the string
-# "GOBSTOPPER".
-
-SOURCE_VERSION=@SOURCE_VERSION@
-OFFICIAL_BUILD=@OFFICIAL_BUILD@
-
-# Use special abnormal exit codes so that problems with this library are more
-# easily tracked down.
-SHELL_LIB_INTERNAL_ERROR=86
-SHELL_LIB_THROWN_ERROR=74
-SHELL_LIB_USAGE_ERROR=99
-
-# old -> new variable names
-if [ -z "$DEBUG_XORG_PACKAGE" ] && [ -n "$DEBUG_XFREE86_PACKAGE" ]; then
-  DEBUG_XORG_PACKAGE="$DEBUG_XFREE86_PACKAGE"
-fi
-if [ -z "$DEBUG_XORG_DEBCONF" ] && [ -n "$DEBUG_XFREE86_DEBCONF" ]; then
-  DEBUG_XORG_DEBCONF="$DEBUG_XFREE86_DEBCONF"
-fi
-
-# initial sanity checks
-if [ -z "$THIS_PACKAGE" ]; then
-  cat >&2 <<EOF
-Error: package maintainer script attempted to use shell library without
-definining \$THIS_PACKAGE shell variable.  Please report the package name,
-version, and the text of this error message to the Debian Bug Tracking System.
-Visit <http://www.debian.org/Bugs/Reporting> on the World Wide Web for
-instructions, read the file /usr/share/doc/debian/bug-reporting.txt from the
-"doc-debian" package, or install the "reportbug" package and use the command of
-the same name to file a report against version $SOURCE_VERSION of this package.
-EOF
-  exit $SHELL_LIB_USAGE_ERROR
-fi
-
-if [ -z "$THIS_SCRIPT" ]; then
-  cat >&2 <<EOF
-Error: package maintainer script attempted to use shell library without
-definining \$THIS_SCRIPT shell variable.  Please report the package name,
-version, and the text of this error message to the Debian Bug Tracking System.
-Visit <http://www.debian.org/Bugs/Reporting> on the World Wide Web for
-instructions, read the file /usr/share/doc/debian/bug-reporting.txt from the
-"doc-debian" package, or install the "reportbug" package and use the command of
-the same name to file a report against version $SOURCE_VERSION of the
-"$THIS_PACKAGE" package.
-EOF
-  exit $SHELL_LIB_USAGE_ERROR
-fi
-
-if [ "$1" = "reconfigure" ] || [ -n "$DEBCONF_RECONFIGURE" ]; then
-  RECONFIGURE="true"
-else
-  RECONFIGURE=
-fi
-
-if ([ "$1" = "install" ] || [ "$1" = "configure" ]) && [ -z "$2" ]; then
-  FIRSTINST="yes"
-fi
-
-if [ -z "$RECONFIGURE" ] && [ -z "$FIRSTINST" ]; then
-  UPGRADE="yes"
-fi
-
-trap "message;\
-      message \"Received signal.  Aborting $THIS_PACKAGE package $THIS_SCRIPT script.\";\
-      message;\
-      exit 1" HUP INT QUIT TERM
-
-reject_nondigits () {
-  # syntax: reject_nondigits [ operand ... ]
-  #
-  # scan operands (typically shell variables whose values cannot be trusted) for
-  # characters other than decimal digits and barf if any are found
-  while [ -n "$1" ]; do
-    # does the operand contain anything but digits?
-    if ! expr "$1" : "[[:digit:]]\+$" > /dev/null 2>&1; then
-      # can't use die(), because it wraps message() which wraps this function
-      echo "$THIS_PACKAGE $THIS_SCRIPT error: reject_nondigits() encountered" \
-           "possibly malicious garbage \"$1\"" >&2
-      exit $SHELL_LIB_THROWN_ERROR
-    fi
-    shift
-  done
-}
-
-reject_unlikely_path_chars () {
-  # syntax: reject_unlikely_path_chars [ operand ... ]
-  #
-  # scan operands (typically shell variables whose values cannot be trusted) for
-  # characters unlikely to be seen in a path and which the shell might
-  # interpret and barf if any are found
-  while [ -n "$1" ]; do
-    # does the operand contain any funny characters?
-    if expr "$1" : '.*[!$&()*;<>?|].*' > /dev/null 2>&1; then
-      # can't use die(), because I want to avoid forward references
-      echo "$THIS_PACKAGE $THIS_SCRIPT error: reject_unlikely_path_chars()" \
-           "encountered possibly malicious garbage \"$1\"" >&2
-      exit $SHELL_LIB_THROWN_ERROR
-    fi
-    shift
-  done
-}
-
-# Query the terminal to establish a default number of columns to use for
-# displaying messages to the user.  This is used only as a fallback in the
-# event the COLUMNS variable is not set.  ($COLUMNS can react to SIGWINCH while
-# the script is running, and this cannot, only being calculated once.)
-DEFCOLUMNS=$(stty size 2> /dev/null | awk '{print $2}') || true
-if ! expr "$DEFCOLUMNS" : "[[:digit:]]\+$" > /dev/null 2>&1; then
-  DEFCOLUMNS=80
-fi
-
-message () {
-  # pretty-print messages of arbitrary length
-  reject_nondigits "$COLUMNS"
-  echo "$*" | fmt -t -w ${COLUMNS:-$DEFCOLUMNS} >&2
-}
-
-observe () {
-  # syntax: observe message ...
-  #
-  # issue observational message suitable for logging someday when support for
-  # it exists in dpkg
-  if [ -n "$DEBUG_XORG_PACKAGE" ]; then
-    message "$THIS_PACKAGE $THIS_SCRIPT note: $*"
-  fi
-}
-
-warn () {
-  # syntax: warn message ...
-  #
-  # issue warning message suitable for logging someday when support for
-  # it exists in dpkg; also send to standard error
-  message "$THIS_PACKAGE $THIS_SCRIPT warning: $*"
-}
-
-die () {
-  # syntax: die message ...
-  #
-  # exit script with error message
-  message "$THIS_PACKAGE $THIS_SCRIPT error: $*"
-  exit $SHELL_LIB_THROWN_ERROR
-}
-
-internal_error () {
-  # exit script with error; essentially a "THIS SHOULD NEVER HAPPEN" message
-  message "internal error: $*"
-  if [ -n "$OFFICIAL_BUILD" ]; then
-    message "Please report a bug in the $THIS_SCRIPT script of the" \
-            "$THIS_PACKAGE package, version $SOURCE_VERSION to the Debian Bug" \
-            "Tracking System.  Include all messages above that mention the" \
-            "$THIS_PACKAGE package.  Visit " \
-            "<http://www.debian.org/Bugs/Reporting> on the World Wide Web for" \
-            "instructions, read the file" \
-            "/usr/share/doc/debian/bug-reporting.txt from the doc-debian" \
-            "package, or install the reportbug package and use the command of" \
-            "the same name to file a report."
-  fi
-  exit $SHELL_LIB_INTERNAL_ERROR
-}
-
-usage_error () {
-  message "usage error: $*"
-  message "Please report a bug in the $THIS_SCRIPT script of the" \
-          "$THIS_PACKAGE package, version $SOURCE_VERSION to the Debian Bug" \
-          "Tracking System.  Include all messages above that mention the" \
-          "$THIS_PACKAGE package.  Visit " \
-          "<http://www.debian.org/Bugs/Reporting> on the World Wide Web for" \
-          "instructions, read the file" \
-          "/usr/share/doc/debian/bug-reporting.txt from the doc-debian" \
-          "package, or install the reportbug package and use the command of" \
-          "the same name to file a report."
-  exit $SHELL_LIB_USAGE_ERROR
-}
-
-font_update () {
-  # run $UPDATECMDS in $FONTDIRS
-
-  local dir cmd shortcmd x_font_dir_prefix
-
-  x_font_dir_prefix="/usr/share/fonts/X11"
-
-  if [ -z "$UPDATECMDS" ]; then
-    usage_error "font_update() called but \$UPDATECMDS not set"
-  fi
-  if [ -z "$FONTDIRS" ]; then
-    usage_error "font_update() called but \$FONTDIRS not set"
-  fi
-
-  reject_unlikely_path_chars "$UPDATECMDS"
-  reject_unlikely_path_chars "$FONTDIRS"
-
-  for dir in $FONTDIRS; do
-    if [ -d "$x_font_dir_prefix/$dir" ]; then
-      for cmd in $UPDATECMDS; do
-        if which "$cmd" > /dev/null 2>&1; then
-          shortcmd=${cmd##*/}
-          observe "running $shortcmd in $dir font directory"
-         cmd_opts=
-          if [ "$shortcmd" = "update-fonts-alias" ]; then
-            cmd_opts=--x11r7-layout
-          fi
-          if [ "$shortcmd" = "update-fonts-dir" ]; then
-            cmd_opts=--x11r7-layout
-          fi
-          if [ "$shortcmd" = "update-fonts-scale" ]; then
-            cmd_opts=--x11r7-layout
-          fi
-          $cmd $cmd_opts $dir || warn "$cmd $cmd_opts $dir" \
-                              "failed; font directory data may not" \
-                              "be up to date"
-        else
-          warn "$cmd not found; not updating corresponding $dir font" \
-               "directory data"
-        fi
-      done
-    else
-      warn "$dir is not a directory; not updating font directory data"
-    fi
-  done
-}
-
-remove_conffile_prepare () {
-  # syntax: remove_conffile_prepare filename official_md5sum ...
-  #
-  # Check a conffile "filename" against a list of canonical MD5 checksums.
-  # If the file's current MD5 checksum matches one of the "official_md5sum"
-  # operands provided, then prepare the conffile for removal from the system.
-  # We defer actual deletion until the package is configured so that we can
-  # roll this operation back if package installation fails.
-  #
-  # Call this function from a preinst script in the event $1 is "upgrade" or
-  # "install" and verify $2 to ensure the package is being upgraded from a
-  # version (or installed over a version removed-but-not-purged) prior to the
-  # one in which the conffile was obsoleted.
-
-  local conffile current_checksum
-
-  # validate arguments
-  if [ $# -lt 2 ]; then
-    usage_error "remove_conffile_prepare() called with wrong number of" \
-                "arguments; expected at least 2, got $#"
-    exit $SHELL_LIB_USAGE_ERROR
-  fi
-
-  conffile="$1"
-  shift
-
-  # does the conffile even exist?
-  if [ -e "$conffile" ]; then
-    # calculate its checksum
-    current_checksum=$(md5sum < "$conffile" | sed 's/[[:space:]].*//')
-    # compare it to each supplied checksum
-    while [ -n "$1" ]; do
-      if [ "$current_checksum" = "$1" ]; then
-        # we found a match; move the confffile and stop looking
-        observe "preparing obsolete conffile $conffile for removal"
-        mv "$conffile" "$conffile.$THIS_PACKAGE-tmp"
-        break
-      fi
-      shift
-    done
-  fi
-}
-
-remove_conffile_lookup () {
-  # syntax: remove_conffile_lookup package filename
-  #
-  # Lookup the md5sum of a conffile in dpkg's database, and prepare for removal
-  # if it matches the actual file's md5sum.
-  #
-  # Call this function when you would call remove_conffile_prepare but only
-  # want to check against dpkg's status database instead of known checksums.
-
-  local package conffile old_md5sum
-
-  # validate arguments
-  if [ $# -ne 2 ]; then
-    usage_error "remove_conffile_lookup() called with wrong number of" \
-                "arguments; expected 1, got $#"
-    exit $SHELL_LIB_USAGE_ERROR
-  fi
-
-  package="$1"
-  conffile="$2"
-
-  if ! [ -e "$conffile" ]; then
-    return
-  fi
-  old_md5sum="$(dpkg-query -W -f='${Conffiles}' "$package" | \
-    awk '{ if (match($0, "^ '"$conffile"' ")) print $2}')"
-  if [ -n "$old_md5sum" ]; then
-    remove_conffile_prepare "$conffile" "$old_md5sum"
-  fi
-}
-
-remove_conffile_commit () {
-  # syntax: remove_conffile_commit filename
-  #
-  # Complete the removal of a conffile "filename" that has become obsolete.
-  #
-  # Call this function from a postinst script after having used
-  # remove_conffile_prepare() in the preinst.
-
-  local conffile
-
-  # validate arguments
-  if [ $# -ne 1 ]; then
-    usage_error "remove_conffile_commit() called with wrong number of" \
-                "arguments; expected 1, got $#"
-    exit $SHELL_LIB_USAGE_ERROR
-  fi
-
-  conffile="$1"
-
-  # if the temporary file created by remove_conffile_prepare() exists, remove it
-  if [ -e "$conffile.$THIS_PACKAGE-tmp" ]; then
-    observe "committing removal of obsolete conffile $conffile"
-    rm "$conffile.$THIS_PACKAGE-tmp"
-  fi
-}
-
-remove_conffile_rollback () {
-  # syntax: remove_conffile_rollback filename
-  #
-  # Roll back the removal of a conffile "filename".
-  #
-  # Call this function from a postrm script in the event $1 is "abort-upgrade"
-  # or "abort-install" is  after having used remove_conffile_prepare() in the
-  # preinst.
-
-  local conffile
-
-  # validate arguments
-  if [ $# -ne 1 ]; then
-    usage_error "remove_conffile_rollback() called with wrong number of" \
-                "arguments; expected 1, got $#"
-    exit $SHELL_LIB_USAGE_ERROR
-  fi
-
-  conffile="$1"
-
-  # if the temporary file created by remove_conffile_prepare() exists, move it
-  # back
-  if [ -e "$conffile.$THIS_PACKAGE-tmp" ]; then
-    observe "rolling back removal of obsolete conffile $conffile"
-    mv "$conffile.$THIS_PACKAGE-tmp" "$conffile"
-  fi
-}
-
-replace_conffile_with_symlink_prepare () {
-  # syntax: replace_conffile_with_symlink_prepare oldfilename newfilename \
-  # official_md5sum ...
-  #
-  # Check a conffile "oldfilename" against a list of canonical MD5 checksums.
-  # If the file's current MD5 checksum matches one of the "official_md5sum"
-  # operands provided, then prepare the conffile for removal from the system.
-  # We defer actual deletion until the package is configured so that we can
-  # roll this operation back if package installation fails. Otherwise copy it
-  # to newfilename and let dpkg handle it through conffiles mechanism.
-  #
-  # Call this function from a preinst script in the event $1 is "upgrade" or
-  # "install" and verify $2 to ensure the package is being upgraded from a
-  # version (or installed over a version removed-but-not-purged) prior to the
-  # one in which the conffile was obsoleted.
-
-  local conffile current_checksum
-
-  # validate arguments
-  if [ $# -lt 3 ]; then
-    usage_error "replace_conffile_with_symlink_prepare() called with wrong" \
-                " number of arguments; expected at least 3, got $#"
-    exit $SHELL_LIB_USAGE_ERROR
-  fi
-
-  oldconffile="$1"
-  shift
-  newconffile="$1"
-  shift
-
-  remove_conffile_prepare "$_oldconffile" "$@"
-  # If $oldconffile still exists, then md5sums didn't match.
-  # Copy it to new one.
-  if [ -f "$oldconffile" ]; then
-    cp "$oldconffile" "$newconffile"
-  fi
-
-}
-
-replace_conffile_with_symlink_commit () {
-  # syntax: replace_conffile_with_symlink_commit oldfilename
-  #
-  # Complete the removal of a conffile "oldfilename" that has been
-  # replaced by a symlink.
-  #
-  # Call this function from a postinst script after having used
-  # replace_conffile_with_symlink_prepare() in the preinst.
-
-  local conffile
-
-  # validate arguments
-  if [ $# -ne 1 ]; then
-    usage_error "replace_conffile_with_symlink_commit() called with wrong" \
-                "number of arguments; expected 1, got $#"
-    exit $SHELL_LIB_USAGE_ERROR
-  fi
-
-  conffile="$1"
-
-  remove_conffile_commit "$conffile"
-}
-
-replace_conffile_with_symlink_rollback () {
-  # syntax: replace_conffile_with_symlink_rollback oldfilename newfilename
-  #
-  # Roll back the replacing of a conffile "oldfilename" with symlink to
-  # "newfilename".
-  #
-  # Call this function from a postrm script in the event $1 is "abort-upgrade"
-  # or "abort-install" and verify $2 to ensure the package failed to upgrade
-  # from a version (or install over a version removed-but-not-purged) prior
-  # to the one in which the conffile was obsoleted.
-  # You should have  used replace_conffile_with_symlink_prepare() in the
-  # preinst.
-
-  local conffile
-
-  # validate arguments
-  if [ $# -ne 2 ]; then
-    usage_error "replace_conffile_with_symlink_rollback() called with wrong" \
-                "number of arguments; expected 2, got $#"
-    exit $SHELL_LIB_USAGE_ERROR
-  fi
-
-  oldconffile="$1"
-  newconffile="$2"
-
-  remove_conffile_rollback "$_oldconffile"
-  if [ -f "$newconffile" ]; then
-    rm "$newconffile"
-  fi
-}
-
-run () {
-  # syntax: run command [ argument ... ]
-  #
-  # Run specified command with optional arguments and report its exit status.
-  # Useful for commands whose exit status may be nonzero, but still acceptable,
-  # or commands whose failure is not fatal to us.
-  #
-  # NOTE: Do *not* use this function with db_get or db_metaget commands; in
-  # those cases the return value of the debconf command *must* be checked
-  # before the string returned by debconf is used for anything.
-
-  local retval
-
-  # validate arguments
-  if [ $# -lt 1 ]; then
-    usage_error "run() called with wrong number of arguments; expected at" \
-                "least 1, got $#"
-    exit $SHELL_LIB_USAGE_ERROR
-  fi
-
-  "$@" || retval=$?
-
-  if [ ${retval:-0} -ne 0 ]; then
-    observe "command \"$*\" exited with status $retval"
-  fi
-}
-
-make_symlink_sane () {
-  # syntax: make_symlink_sane symlink target
-  #
-  # Ensure that the symbolic link symlink exists, and points to target.
-  #
-  # If symlink does not exist, create it and point it at target.
-  #
-  # If symlink exists but is not a symbolic link, back it up.
-  #
-  # If symlink exists, is a symbolic link, but points to the wrong location, fix
-  # it.
-  #
-  # If symlink exists, is a symbolic link, and already points to target, do
-  # nothing.
-  #
-  # This function wouldn't be needed if ln had an -I, --idempotent option.
-
-  # Validate arguments.
-  if [ $# -ne 2 ]; then
-    usage_error "make_symlink_sane() called with wrong number of arguments;" \
-      "expected 2, got $#"
-    exit $SHELL_LIB_USAGE_ERROR
-  fi
-
-  # We could just use the positional parameters as-is, but that makes things
-  # harder to follow.
-  local symlink target
-
-  symlink="$1"
-  target="$2"
-
-  if [ -L "$symlink" ] && [ "$(readlink "$symlink")" = "$target" ]; then
-      observe "link from $symlink to $target already exists"
-  else
-    observe "creating symbolic link from $symlink to $target"
-    mkdir -p "${target%/*}" "${symlink%/*}"
-    ln -s -b -S ".dpkg-old" "$target" "$symlink"
-  fi
-}
-
-migrate_dir_to_symlink () {
-  # syntax: migrate_dir_to_symlink old_location new_location
-  #
-  # Per Debian Policy section 6.5.4, "A directory will never be replaced by a
-  # symbolic link to a directory or vice versa; instead, the existing state
-  # (symlink or not) will be left alone and dpkg will follow the symlink if
-  # there is one."
-  #
-  # We have to do it ourselves.
-  #
-  # This function moves the contents of old_location, a directory, into
-  # new_location, a directory, then makes old_location a symbolic link to
-  # new_location.
-  #
-  # old_location need not exist, but if it does, it must be a directory (or a
-  # symlink to a directory).  If it is not, it is backed up.  If new_location
-  # exists already and is not a directory, it is backed up.
-  #
-  # This function should be called from a package's preinst so that other
-  # packages unpacked after this one --- but before this package's postinst runs
-  # --- are unpacked into new_location even if their payloads contain
-  # old_location filespecs.
-
-  # Validate arguments.
-  if [ $# -ne 2 ]; then
-    usage_error "migrate_dir_to_symlink() called with wrong number of"
-                "arguments; expected 2, got $#"
-    exit $SHELL_LIB_USAGE_ERROR
-  fi
-
-  # We could just use the positional parameters as-is, but that makes things
-  # harder to follow.
-  local new old
-
-  old="$1"
-  new="$2"
-
-  # Is old location a symlink?
-  if [ -L "$old" ]; then
-    # Does it already point to new location?
-    if [ "$(readlink "$old")" = "$new" ]; then
-      # Nothing to do; migration has already been done.
-      observe "migration of $old to $new already done"
-      return 0
-    else
-      # Back it up.
-      warn "backing up symbolic link $old as $old.dpkg-old"
-      mv -b "$old" "$old.dpkg-old"
-    fi
-  fi
-
-  # Does old location exist, but is not a directory?
-  if [ -e "$old" ] && ! [ -d "$old" ]; then
-      # Back it up.
-      warn "backing up non-directory $old as $old.dpkg-old"
-      mv -b "$old" "$old.dpkg-old"
-  fi
-
-  observe "migrating $old to $new"
-
-  # Is new location a symlink?
-  if [ -L "$new" ]; then
-    # Does it point the wrong way, i.e., back to where we're migrating from?
-    if [ "$(readlink "$new")" = "$old" ]; then
-      # Get rid of it.
-      observe "removing symbolic link $new which points to $old"
-      rm "$new"
-    else
-      # Back it up.
-      warn "backing up symbolic link $new as $new.dpkg-old"
-      mv -b "$new" "$new.dpkg-old"
-    fi
-  fi
-
-  # Does new location exist, but is not a directory?
-  if [ -e "$new" ] && ! [ -d "$new" ]; then
-    warn "backing up non-directory $new as $new.dpkg-old"
-    mv -b "$new" "$new.dpkg-old"
-  fi
-
-  # Create new directory if it does not yet exist.
-  if ! [ -e "$new" ]; then
-    observe "creating $new"
-    mkdir -p "$new"
-  fi
-
-  # Copy files in old location to new location.  Back up any filenames that
-  # already exist in the new location with the extension ".dpkg-old".
-  observe "copying files from $old to $new"
-  if ! (cd "$old" && cp -a -b -S ".dpkg-old" . "$new"); then
-    die "error(s) encountered while copying files from $old to $new"
-  fi
-
-  # Remove files at old location.
-  observe "removing $old"
-  rm -r "$old"
-
-  # Create symlink from old location to new location.
-  make_symlink_sane "$old" "$new"
-}
-
-# vim:set ai et sw=2 ts=2 tw=80:
-
-# GOBSTOPPER: The X Strike Force shell library ends here.
old mode 100755 (executable)
new mode 100644 (file)
index c2aa671..882f384
@@ -1,64 +1,13 @@
-#
-# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-# DEALINGS IN THE SOFTWARE.
-#
 
 if ENABLE_DOCS
-doc_sources = xdmcp.xml
-dist_doc_DATA = $(doc_sources)
 
-if HAVE_XMLTO
-doc_DATA = $(doc_sources:.xml=.html)
+# Main DocBook/XML files (DOCTYPE book)
+docbook = xdmcp.xml
 
-if HAVE_FOP
-doc_DATA += $(doc_sources:.xml=.ps) $(doc_sources:.xml=.pdf)
-endif
+# The location where the DocBook/XML files and their generated formats are installed
+shelfdir = $(docdir)
 
-if HAVE_XMLTO_TEXT
-doc_DATA += $(doc_sources:.xml=.txt)
-endif
+# Generate DocBook/XML output formats with or without stylesheets
+include $(top_srcdir)/docbook.am
 
-if HAVE_STYLESHEETS
-XMLTO_FLAGS = -m $(XSL_STYLESHEET)
-
-doc_DATA += xorg.css
-xorg.css: $(STYLESHEET_SRCDIR)/xorg.css
-       $(AM_V_GEN)cp -pf $(STYLESHEET_SRCDIR)/xorg.css $@
-endif
-
-CLEANFILES = $(doc_DATA)
-
-SUFFIXES = .xml .ps .pdf .txt .html
-
-.xml.txt:
-       $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
-
-.xml.html:
-       $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks $<
-
-.xml.pdf:
-       $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop pdf $<
-
-.xml.ps:
-       $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop ps $<
-
-endif HAVE_XMLTO
 endif ENABLE_DOCS
old mode 100755 (executable)
new mode 100644 (file)
index 22bccc6..0f0ab3f
@@ -1,27 +1,43 @@
 <?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" [
+<!--
+   variable names used in equation markup in the authentication chapter
+   FIXME: Replace with mathml?
+  -->
+<!ENTITY variable.D    "<emphasis role='italic'>D</emphasis>">
+<!ENTITY variable.N    "<emphasis role='italic'>N</emphasis>">
+<!ENTITY variable.T    "<emphasis role='italic'>T</emphasis>">
+<!ENTITY variable.Delta        "<emphasis role='italic'>&Delta;</emphasis>">
+<!ENTITY variable.alpha        "<emphasis role='italic'>&alpha;</emphasis>">
+<!ENTITY variable.beta "<emphasis role='italic'>&beta;</emphasis>">
+<!ENTITY variable.kappa "<emphasis role='italic'>&kappa;</emphasis>">
+<!ENTITY variable.rho  "<emphasis role='italic'>&rho;</emphasis>">
+<!ENTITY variable.sigma        "<emphasis role='italic'>&sigma;</emphasis>">
+<!ENTITY variable.tau  "<emphasis role='italic'>&tau;</emphasis>">
+<!ENTITY % defs SYSTEM "defs.ent"> %defs;
+]>
 
 <book id="xdmcp">
 
 <bookinfo>
    <title>X Display Manager Control Protocol</title>
    <subtitle>X.Org Standard</subtitle>
+   <releaseinfo>X Version 11, Release &fullrelvers;</releaseinfo>
    <releaseinfo>Version 1.1</releaseinfo>
    <authorgroup>
    <author>
       <firstname>Keith</firstname><surname>Packard</surname>
-      <affiliation><orgname>
-X Consortium,
-Laboratory for Computer Science,
-Massachusetts Institute of Technology
-      </orgname></affiliation>
+      <affiliation>
+        <orgname>Massachusetts Institute of Technology</orgname>
+        <orgdiv>Laboratory for Computer Science</orgdiv>
+        <orgdiv>X Consortium</orgdiv>
+      </affiliation>
    </author>
    </authorgroup>
 
-   <copyright><year>1989</year><holder>The Open Group</holder></copyright>
-   <copyright><year>2004</year><holder>The Open Group</holder></copyright>
-   <productnumber>X Version 11, Release 6.8</productnumber>
+   <copyright><year>1989</year><year>2004</year>
+     <holder>The Open Group</holder></copyright>
 
 <legalnotice>
 
@@ -59,9 +75,7 @@ in this Software without prior written authorization from The Open Group.
 </legalnotice>
 </bookinfo>
 
-<chapter id="TITLE">
-<title>TITLE</title>
-<sect1 id="Purpose_and_Goals">
+<chapter id="Purpose_and_Goals">
 <title>Purpose and Goals</title>
 <!-- .XS -->
 <!-- (SN Purpose and Goals -->
@@ -179,9 +193,9 @@ XDMCP must be flexible enough to accomodate a variety of security mechanisms.
     </para>
   </listitem>
 </itemizedlist>
-</sect1>
+</chapter>
 
-<sect1 id="Overview_of_the_Protocol">
+<chapter id="Overview_of_the_Protocol">
 <title>Overview of the Protocol</title>
 <!-- .XS -->
 <!-- (SN Overview of the Protocol -->
@@ -235,9 +249,9 @@ when the Manager has received (at least one copy of) a packet.  On the
 Manager side, this means that any packet may be received more than once (if
 the response was lost) and duplicates must be ignored.
 </para>
-</sect1>
+</chapter>
 
-<sect1 id="Data_Types">
+<chapter id="Data_Types">
 <title>Data Types</title>
 <!-- .XS -->
 <!-- (SN Data Types -->
@@ -251,35 +265,36 @@ restriction will not substantially hamper the efficiency of any
 implementation.  Also, no padding of any sort will occur within the packets.
 </para>
 
-<informaltable frame="none">
-  <tgroup cols='3' align='left'>
-  <colspec colname='c1' colsep="0"/>
-  <colspec colname='c2' colsep="0"/>
-  <colspec colname='c3' colsep="0"/>
+<informaltable frame="topbot">
+  <?dbfo keep-together="always" ?>
+  <tgroup cols='3' align='left' colsep='0' rowsep='0'>
+  <colspec colname='c1' colwidth="1.0*"/>
+  <colspec colname='c2' colwidth="1.0*"/>
+  <colspec colname='c3' colwidth="2.0*"/>
   <thead>
-    <row>
+    <row rowsep='1'>
       <entry>Type Name</entry>
       <entry>Length (Bytes)</entry>
       <entry>Description</entry>
     </row>
   </thead>
   <tbody>
-    <row rowsep="0">
+    <row>
       <entry>CARD8</entry>
       <entry>1</entry>
       <entry>A single byte unsigned integer</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>CARD16</entry>
       <entry>2</entry>
       <entry>Two byte unsigned integer</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>CARD32</entry>
       <entry>4</entry>
       <entry>Four byte unsigned integer</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>ARRAY8</entry>
       <entry>n+2</entry>
       <entry>
@@ -288,7 +303,7 @@ a collection of CARD8.  The value of the CARD16
 field (n) specifies the number of CARD8 values to follow
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>ARRAY16</entry>
       <entry>2*m+1</entry>
       <entry>
@@ -296,7 +311,7 @@ This is a CARD8 (m) which specifies the
 number of CARD16 values to follow
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>ARRAY32</entry>
       <entry>4*l+1</entry>
       <entry>
@@ -304,7 +319,7 @@ This is a CARD8 (l) which specifies the
 number of CARD32 values to follow
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>ARRAYofARRAY8</entry>
       <entry>?</entry>
       <entry>
@@ -315,9 +330,9 @@ number of ARRAY8 values to follow.
   </tbody>
   </tgroup>
 </informaltable>
-</sect1>
+</chapter>
 
-<sect1 id="Packet_Format">
+<chapter id="Packet_Format">
 <title>Packet Format</title>
 <!-- .XS -->
 <!-- (SN Packet Format -->
@@ -326,35 +341,36 @@ number of ARRAY8 values to follow.
 All XDMCP packets have the following information:
 </para>
 
-<informaltable frame="none">
-  <tgroup cols='3' align='left'>
-  <colspec colname='c1' colsep="0"/>
-  <colspec colname='c2' colsep="0"/>
-  <colspec colname='c3' colsep="0"/>
+<informaltable frame="topbot">
+  <?dbfo keep-together="always" ?>
+  <tgroup cols='3' align='left' colsep='0' rowsep='0'>
+  <colspec colname='c1' colwidth="1.0*" />
+  <colspec colname='c2' colwidth="1.0*" />
+  <colspec colname='c3' colwidth="2.0*" />
   <thead>
-    <row>
+    <row rowsep='1'>
       <entry>Length (Bytes)</entry>
       <entry>Field Type</entry>
       <entry>Description</entry>
     </row>
   </thead>
   <tbody>
-    <row rowsep="0">
+    <row>
       <entry>2</entry>
       <entry>CARD16</entry>
       <entry>version number</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>2</entry>
       <entry>CARD16</entry>
       <entry>opcode packet header</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>2</entry>
       <entry>CARD16</entry>
       <entry>n = length of remaining data in bytes</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>n</entry>
       <entry>???</entry>
       <entry>packet-specific data</entry>
@@ -450,9 +466,9 @@ the Session ID should match the value sent in the preceding
     </para>
   </listitem>
 </orderedlist>
-</sect1>
+</chapter>
 
-<sect1 id="Protocol">
+<chapter id="Protocol">
 <title>Protocol</title>
 <!-- .XS -->
 <!-- (SN Protocol -->
@@ -466,49 +482,49 @@ header in the order described without padding, and the length field is
 computed accordingly.
 </para>
 
-<informaltable frame="none">
+<informaltable frame="none" colsep='0' rowsep='0'>
   <tgroup cols='10' align='left'>
-  <colspec colname='col1' colsep="0" colwidth="1*"/>
-  <colspec colname='col2' colsep="0" colwidth="1*"/>
-  <colspec colname='col3' colsep="0" colwidth="1*"/>
-  <colspec colname='col4' colsep="0" colwidth="1*"/>
-  <colspec colname='col5' colsep="0" colwidth="1*"/>
-  <colspec colname='col6' colsep="0" colwidth="1*"/>
-  <colspec colname='col7' colsep="0" colwidth="1*"/>
-  <colspec colname='col8' colsep="0" colwidth="1*"/>
-  <colspec colname='col9' colsep="0" colwidth="1*"/>
-  <colspec colname='col10' colsep="0" colwidth="1*"/>
+  <colspec colname='col1' colwidth="1.0*"/>
+  <colspec colname='col2' colwidth="1.0*"/>
+  <colspec colname='col3' colwidth="1.0*"/>
+  <colspec colname='col4' colwidth="1.0*"/>
+  <colspec colname='col5' colwidth="1.0*"/>
+  <colspec colname='col6' colwidth="1.0*"/>
+  <colspec colname='col7' colwidth="1.0*"/>
+  <colspec colname='col8' colwidth="1.0*"/>
+  <colspec colname='col9' colwidth="1.0*"/>
+  <colspec colname='col10' colwidth="1.0*"/>
   <spanspec namest="col1" nameend="col10" spanname="col1_on" align="left"/>
   <spanspec namest="col2" nameend="col10" spanname="col2_on" align="left"/>
   <spanspec namest="col3" nameend="col10" spanname="col3_on" align="left"/>
   <spanspec namest="col4" nameend="col10" spanname="col4_on" align="left"/>
   <spanspec namest="col5" nameend="col10" spanname="col5_on" align="left"/>
   <tbody>
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on"><emphasis role="bold">Query</emphasis></entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on"><emphasis role="bold">BroadcastQuery</emphasis></entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on"><emphasis role="bold">IndirectQuery</emphasis></entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">Display -> Manager</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">Additional Fields:</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
 <emphasis>Authentication Names</emphasis>: ARRAYofARRAY8
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -519,12 +535,12 @@ manager will choose one of these and return it in the
       </entry>
     </row>
 <!-- AAAAAAAAAAAAA -->
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
-      <entry>Semantics</entry>
+      <entry spanname="col3_on">Semantics</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -574,7 +590,7 @@ Each packet type has slightly different semantics:
 </para>
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -618,13 +634,13 @@ is not forwarded.
     </para>
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
       <entry spanname="col4_on">Valid Responses:</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -632,18 +648,18 @@ is not forwarded.
 <function>Unwilling</function>
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
       <entry spanname="col4_on">Problems/Solutions:</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">Problem:</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -652,7 +668,7 @@ is not forwarded.
 <para>Indication:</para>
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -666,13 +682,13 @@ was sent, else failure to receive
 <function>Willing</function>.
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
       <entry spanname="col4_on">Solution:</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -681,14 +697,14 @@ was sent, else failure to receive
 Repeatedly send the packet while waiting for user to choose a manager.
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
 Timeout/Retransmission policy:
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -700,26 +716,26 @@ should reset the timeout when user-input is detected.  In this way, the
 display will wakeup when touched by the user.
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>ForwardQuery</function>
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 <para>Primary Manager -&gt; Secondary Manager</para>
 <para>Additional Fields:</para>
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
 <emphasis remap='I'>Client Address</emphasis>: ARRAY8
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -727,14 +743,14 @@ display will wakeup when touched by the user.
 Specifies the network address of the client display.
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
 <emphasis remap='I'>Client Port</emphasis>: ARRAY8
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -742,14 +758,14 @@ Specifies the network address of the client display.
 Specifies an identification of the client task on the client display.
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
 <emphasis remap='I'>Authentication Names</emphasis>: ARRAYofARRAY8
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -760,13 +776,13 @@ in the
 packet.
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Semantics:
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -798,27 +814,27 @@ packet.
         </para>
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Valid Responses:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
 <function>Willing</function>
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Problems/Solutions:
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -826,13 +842,13 @@ Identical to
 <function>BroadcastQuery</function>
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Timeout/Retransmission policy:
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -841,13 +857,13 @@ retransmitted.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>Willing</function>
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
         <para>
@@ -859,7 +875,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -867,7 +883,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -895,7 +911,7 @@ of authentication.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -903,7 +919,7 @@ of authentication.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -913,7 +929,7 @@ The protocol specifies no interpretation of the data in this field.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -921,7 +937,7 @@ The protocol specifies no interpretation of the data in this field.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -933,14 +949,14 @@ protocol specifies no interpretation of the data in this field.
     </row>
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Semantics:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -958,14 +974,14 @@ connections already).
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Problems/Solutions:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -973,7 +989,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -988,7 +1004,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1003,7 +1019,7 @@ was sent, else failure to receive
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1012,7 +1028,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1024,14 +1040,14 @@ The display should continue to send the query until a response is received.
 
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Timeout/Retransmission policy:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1040,13 +1056,13 @@ never be retransmitted.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>Unwilling</function>
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
         <para>
@@ -1058,7 +1074,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1070,14 +1086,14 @@ for the refusal of service.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Semantics:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1095,14 +1111,14 @@ particular displays or that handle a limited number of displays at once.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Problems/Solutions:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1110,7 +1126,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1125,7 +1141,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1136,7 +1152,7 @@ Display fails to receive
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1145,7 +1161,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1157,14 +1173,14 @@ messages until a response is received.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Timeout/Retransmission policy:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1172,13 +1188,13 @@ Like all packets sent from the manager to the display, this packet should
 never be retransmitted.
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>Request</function>
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
         <para>
@@ -1190,7 +1206,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1198,7 +1214,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1209,7 +1225,7 @@ This value will be zero for most autonomous displays.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1217,7 +1233,7 @@ This value will be zero for most autonomous displays.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1228,7 +1244,7 @@ corresponds to an X-protocol host family type.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1236,7 +1252,7 @@ corresponds to an X-protocol host family type.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1246,7 +1262,7 @@ this array indicates the network address of the display device.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1259,7 +1275,7 @@ this array indicates the network address of the display device.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1271,7 +1287,7 @@ and use to authenticate itself.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1279,7 +1295,7 @@ and use to authenticate itself.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1290,7 +1306,7 @@ authorization.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1298,7 +1314,7 @@ authorization.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1309,14 +1325,14 @@ Manufacturer Display ID Format.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Semantics:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1334,14 +1350,14 @@ packet.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Valid Responses:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1350,14 +1366,14 @@ Valid Responses:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Problems/Solutions:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1365,7 +1381,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1374,7 +1390,7 @@ Request not received by manager.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1383,7 +1399,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1393,7 +1409,7 @@ Display timeout waiting for response.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1402,7 +1418,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1415,7 +1431,7 @@ message.
     </row>
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1424,7 +1440,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1434,7 +1450,7 @@ Message received out of order by manager.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1443,7 +1459,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1453,7 +1469,7 @@ None.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1462,7 +1478,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1482,14 +1498,14 @@ will be discarded by the display.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Timeout/Retransmission policy:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1498,13 +1514,13 @@ After no more than 126 seconds, give up and report an error to the user.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>Accept</function>
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
         <para>
@@ -1516,7 +1532,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1524,7 +1540,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1533,7 +1549,7 @@ Identifies the session that can be started by the manager.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1546,7 +1562,7 @@ Identifies the session that can be started by the manager.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1557,7 +1573,7 @@ should terminate the protocol at this point and display an error to the user.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1570,14 +1586,14 @@ should terminate the protocol at this point and display an error to the user.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
       <entry spanname="col4_on">
 Is the data sent to the display to indicate the type of authorization the
 manager will be using in the first call to
-<function>XOpenDisplay</function>
+<olink targetdoc='libX11' targetptr='XOpenDisplay'><function>XOpenDisplay</function></olink>
 after the
 <function>Manage</function>
 packet is received.
@@ -1585,14 +1601,14 @@ packet is received.
     </row>
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Semantics:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1620,14 +1636,14 @@ message.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Problems/Solutions:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1635,7 +1651,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1647,7 +1663,7 @@ not received by display.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1656,7 +1672,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1667,7 +1683,7 @@ Display timeout waiting for response to
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1676,7 +1692,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1688,7 +1704,7 @@ message.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1696,7 +1712,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1705,7 +1721,7 @@ Message received out of order by display.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1714,7 +1730,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1728,7 +1744,7 @@ has been sent.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1737,7 +1753,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1751,14 +1767,14 @@ message.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Timeout/Retransmission policy:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1767,13 +1783,13 @@ never be retransmitted.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>Decline</function>
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
         <para>
@@ -1785,7 +1801,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1793,7 +1809,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1803,7 +1819,7 @@ service.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1818,7 +1834,7 @@ ARRAY8
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1829,14 +1845,14 @@ should terminate the protocol at this point and display an error to the user.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Semantics:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1852,14 +1868,14 @@ to a previous query.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Problems/Solutions:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1868,14 +1884,14 @@ Same as for
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Timeout/Retransmission policy:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1884,13 +1900,13 @@ be retransmitted.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>Manage</function>
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
         <para>
@@ -1902,7 +1918,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1910,7 +1926,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1921,7 +1937,7 @@ packet.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1929,7 +1945,7 @@ packet.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1940,7 +1956,7 @@ packet.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1948,7 +1964,7 @@ packet.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -1960,14 +1976,14 @@ which discusses the format of this field.
     </row>
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Semantics:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -1992,14 +2008,14 @@ packet).
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Valid Responses:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2009,14 +2025,14 @@ X connection with correct auth info,
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Problems/Solutions:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2024,7 +2040,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2034,7 +2050,7 @@ not received by manager.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2043,7 +2059,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2053,7 +2069,7 @@ Display timeout waiting for response.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2062,7 +2078,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2075,7 +2091,7 @@ message.
     </row>
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2083,7 +2099,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2093,7 +2109,7 @@ received out of order by manager.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2102,7 +2118,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2112,7 +2128,7 @@ Session already in progress with matching Session ID.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2121,7 +2137,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2132,7 +2148,7 @@ packet ignored.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2141,7 +2157,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2151,7 +2167,7 @@ Session ID does not match next Session ID.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2160,7 +2176,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2172,7 +2188,7 @@ message is sent.
     </row>
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2180,7 +2196,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2189,7 +2205,7 @@ Display cannot be opened on selected stream.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2198,7 +2214,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2208,7 +2224,7 @@ Display connection setup fails.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2217,7 +2233,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2228,7 +2244,7 @@ message is sent including a human readable reason.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2236,7 +2252,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2246,7 +2262,7 @@ because of a timeout occuring in the display.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2255,7 +2271,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2267,7 +2283,7 @@ attempting to connect to the display.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2276,7 +2292,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2293,14 +2309,14 @@ packet is necessary.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Timeout/Retransmission policy:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2309,13 +2325,13 @@ than 126 seconds, give up and report an error to the user.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>Refuse</function>
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
         <para>
@@ -2327,7 +2343,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2335,7 +2351,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2347,14 +2363,14 @@ packet.
     </row>
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Semantics:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2371,14 +2387,14 @@ packet.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Problems/Solutions:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2386,7 +2402,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2395,7 +2411,7 @@ Error message is lost.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2404,7 +2420,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2418,7 +2434,7 @@ or
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2427,7 +2443,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2441,14 +2457,14 @@ message.
 
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Timeout/Retransmission policy:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2457,13 +2473,13 @@ retransmitted.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>Failed</function>
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
         <para>
@@ -2475,7 +2491,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2483,7 +2499,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2494,7 +2510,7 @@ packet.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2502,7 +2518,7 @@ packet.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2512,14 +2528,14 @@ Is a human readable string indicating the reason for failure.
     </row>
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Semantics:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2532,14 +2548,14 @@ packet.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Problems/Solutions
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2548,13 +2564,13 @@ Same as for
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>KeepAlive</function>
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
         <para>
@@ -2566,7 +2582,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2574,7 +2590,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2583,7 +2599,7 @@ Set to the display index for the display host.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2591,7 +2607,7 @@ Set to the display index for the display host.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2602,14 +2618,14 @@ packet during the negotiation for the current session.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Sematics:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2642,14 +2658,14 @@ most recent packet.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Valid Responses:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2657,14 +2673,14 @@ Valid Responses:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Problems/Solutions:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2672,7 +2688,7 @@ Problem:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2682,7 +2698,7 @@ Manager does not receive the packet or display does not receive the response.
     </row>
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2691,7 +2707,7 @@ Indication:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2703,7 +2719,7 @@ packet is returned.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2712,7 +2728,7 @@ Solution:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2723,13 +2739,13 @@ assume the host is not up after no less than 30 seconds.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry spanname="col1_on">
 <function>Alive</function>
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
         <para>
@@ -2741,7 +2757,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2749,7 +2765,7 @@ Additional Fields:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2761,7 +2777,7 @@ is active.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2769,7 +2785,7 @@ is active.
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry></entry>
@@ -2780,14 +2796,14 @@ When no session is active this field should be zero.
     </row>
 
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry spanname="col2_on">
 Semantics:
       </entry>
     </row>
 
-    <row rowsep="0">
+    <row>
       <entry></entry>
       <entry></entry>
       <entry spanname="col3_on">
@@ -2805,9 +2821,9 @@ determine the status of the manager.
   </tgroup>
 </informaltable>
 
-</sect1>
+</chapter>
 
-<sect1 id="Session_Termination">
+<chapter id="Session_Termination">
 <title>Session Termination</title>
 <para>
 When the session is over, the initial connection with the display (the one
@@ -2835,9 +2851,9 @@ should not be fixed between loading an otherwise idle system with spurious
 <function>KeepAlive</function>
 packets and not noticing that the manager host is down for a long time.
 </para>
-</sect1>
+</chapter>
 
-<sect1 id="State_Diagrams">
+<chapter id="State_Diagrams">
 <title>State Diagrams</title>
 <!-- .XS -->
 <!-- (SN State Diagrams -->
@@ -3298,7 +3314,7 @@ Send <function>Refuse</function> packet
 Terminate any session in progress
       </para>
       <para>
-<function>XOpenDisplay</function>
+<olink targetdoc='libX11' targetptr='XOpenDisplay'><function>XOpenDisplay</function></olink>
       </para>
       <para>
 Open display succeeds -&gt;
@@ -3355,9 +3371,9 @@ Send <function>Alive</function> packet containing current status
   </varlistentry>
 </variablelist>
 
-</sect1>
+</chapter>
 
-<sect1 id="Protocol_Encoding">
+<chapter id="Protocol_Encoding">
 <title>Protocol Encoding</title>
 <para>
 When XDMCP is implemented on top of the Internet User Datagram Protocol (UDP),
@@ -3372,66 +3388,66 @@ multicast address. The version number in all packets will be 1.
 Packet opcodes are 16-bit integers.
 </para>
 
-<informaltable frame="none">
-  <tgroup cols='2' align='left'>
-  <colspec colname='c1' colsep="0"/>
-  <colspec colname='c2' colsep="0"/>
+<informaltable frame="topbot">
+  <tgroup cols='2' align='left' colsep='0' rowsep='0'>
+  <colspec colname='c1' colwidth="1.0*"/>
+  <colspec colname='c2' colwidth="3.0*"/>
   <thead>
-    <row>
+    <row rowsep='1'>
       <entry>Packet Name</entry>
       <entry>Encoding</entry>
     </row>
   </thead>
   <tbody>
-    <row rowsep="0">
+    <row>
       <entry>BroadcastQuery</entry>
       <entry>1</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>Query</entry>
       <entry>2</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>IndirectQuery</entry>
       <entry>3</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>ForwardQuery</entry>
       <entry>4</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>Willing</entry>
       <entry>5</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>Unwilling</entry>
       <entry>6</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>Request</entry>
       <entry>7</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>Accept</entry>
       <entry>8</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>Decline</entry>
       <entry>9</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>Manage</entry>
       <entry>10</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>Refuse</entry>
       <entry>11</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>Failed</entry>
       <entry>12</entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>KeepAlive</entry>
       <entry>13
 <footnote><para>
@@ -3441,7 +3457,7 @@ A previous version of this document incorrectly reversed the opcodes of
 </para></footnote>
       </entry>
     </row>
-    <row rowsep="0">
+    <row>
       <entry>Alive</entry>
       <entry>14
 <footnote><para>
@@ -3617,9 +3633,9 @@ Note that these three packets are identical except for the opcode field.
      1     CARD8      Session Running (0: not running 1: running)
      4     CARD32     Session ID (0: not running)
 </literallayout>
-</sect1>
+</chapter>
 
-<sect1 id="Display_Class_Format">
+<chapter id="Display_Class_Format">
 <title>Display Class Format</title>
 <!-- .XS -->
 <!-- (SN Display Class Format -->
@@ -3652,9 +3668,9 @@ This string should be documented in the users manual for the
 particular device and  should probably not be specifiable by the
 display user to avoid unexpected configuration errors.
 </para>
-</sect1>
+</chapter>
 
-<sect1 id="Manufacturer_Display_ID_Format">
+<chapter id="Manufacturer_Display_ID_Format">
 <title>Manufacturer Display ID Format</title>
 <!-- .XS -->
 <!-- (SN Manufacturer Display ID Format -->
@@ -3699,9 +3715,9 @@ Manufacturer Display ID and the private key in the documentation set.
 This information should not be modifiable by the display user.
 </para>
 
-</sect1>
+</chapter>
 
-<sect1 id="Authentication">
+<chapter id="Authentication">
 <title>Authentication</title>
 <!-- .XS -->
 <!-- (SN Authentication -->
@@ -3761,37 +3777,37 @@ Some definitions first:
 <itemizedlist>
   <listitem>
     <para>
-{D}= encryption of plain text D by key κ
+{&variable.D;}<superscript>&variable.kappa;</superscript> = encryption of plain text D by key &variable.kappa;
     </para>
   </listitem>
   <listitem>
     <para>
-{&#x394;}*&#x3BA; = decryption of crypto text &#x394; with key &#x3BA;
+{&variable.Delta;}*<superscript>&variable.kappa;</superscript> = decryption of crypto text &variable.Delta; with key &variable.kappa;
     </para>
   </listitem>
   <listitem>
     <para>
-&tau; = private key shared by display and manager
+&variable.tau; = private key shared by display and manager
     </para>
   </listitem>
   <listitem>
     <para>
-&rho; = 64 bit random number generated by display
+&variable.rho; = 64 bit random number generated by display
     </para>
   </listitem>
   <listitem>
     <para>
-&alpha; = authentication data in XDMCP packets
+&variable.alpha; = authentication data in XDMCP packets
     </para>
   </listitem>
   <listitem>
     <para>
-&sigma; = per-session private key, generated by manager
+&variable.sigma; = per-session private key, generated by manager
     </para>
   </listitem>
   <listitem>
     <para>
-&beta; = authorization data
+&variable.beta; = authorization data
     </para>
   </listitem>
 </itemizedlist>
@@ -3802,7 +3818,7 @@ shorter than 64 bits will be zero-filled
 on the right to 64 bits.  Blocks longer than 64 bits will use block chaining:
 </para>
 <para>
-{D}&#x3BA; = {D1 }&#x3BA; {D2 xor {D1 }&#x3BA; }&#x3BA;
+{&variable.D;}<superscript>&variable.kappa;</superscript> = {&variable.D;<subscript>1</subscript>}<superscript>&variable.kappa;</superscript> {&variable.D;<subscript>2</subscript> xor {&variable.D;<subscript>1</subscript>}<superscript>&variable.kappa;</superscript>}<superscript>&variable.kappa;</superscript>
 </para>
 
 <para>
@@ -3812,23 +3828,22 @@ packet:
 </para>
 
 <para>
-&#945;Request = {&#961;}τ
-
+&variable.alpha;<subscript>Request</subscript> = {&variable.rho;}<superscript>&variable.tau;</superscript>
 </para>
 
 <para>
 For the <function>Accept</function>
 packet, the manager decrypts the initial message and returns
-αAccept:
+&variable.alpha;<subscript>Accept</subscript>:
 
 </para>
 
 <para>
-&rho; = {&alpha; Request } *&tau;
+&variable.rho; = {&variable.alpha;<subscript>Request</subscript>}*<superscript>&variable.tau;</superscript>
 </para>
 
 <para>
-&alpha; Accept = { &rho; + 1}&tau;
+&variable.alpha;<subscript>Accept</subscript> = { &variable.rho; + 1}<superscript>&variable.tau;</superscript>
 </para>
 
 <para>
@@ -3844,7 +3859,7 @@ packet contains the authorization name
 "XDM-AUTHORIZATION-1".  The authorization data is the string:
 </para>
 <para>
-β Accept = {σ}τ
+&variable.beta;<subscript>Accept</subscript> = {&variable.sigma;}<superscript>&variable.tau;</superscript>
 </para>
 
 <para>
@@ -3853,20 +3868,20 @@ using the XDM-AUTHORIZATION-1 authorization protocol, the client computes the
 following:
 </para>
 <para>
-N mark = "X client identifier"
+&variable.N; = X client identifier
 </para>
 <para>
-T lineup = "Current time in seconds on client host (32 bits)"
+&variable.T; = Current time in seconds on client host (32 bits)
 </para>
 <para>
-β = {ρNT}σ
+&variable.beta; = {&variable.rho;&variable.N;&variable.T;}<superscript>&variable.sigma;</superscript>
 </para>
 
 <para>
-For TCP connections @N@ is 48 bits long and contains the 32-bit IPv4 address of
+For TCP connections &variable.N; is 48 bits long and contains the 32-bit IPv4 address of
 the client host followed by the 16-bit port number of the client socket.
 Formats for other connections must be registered.
-The resulting value, β, is 192 bits of authorization data that is sent
+The resulting value, &variable.beta;, is 192 bits of authorization data that is sent
 in the connection setup to the server.  The server receives the packet,
 decrypts the contents.  To accept the connection, the following must hold:
 </para>
@@ -3874,22 +3889,21 @@ decrypts the contents.  To accept the connection, the following must hold:
 <itemizedlist>
   <listitem>
     <para>
-ρ must match the value generated for the most recent XDMCP negotiation.
+&variable.rho; must match the value generated for the most recent XDMCP negotiation.
     </para>
   </listitem>
   <listitem>
     <para>
-T must be within 1200 seconds of the internally stored time.  If no time
-been received before, the current time is set to @T@.
+&variable.T; must be within 1200 seconds of the internally stored time.  If no time
+been received before, the current time is set to &variable.T;.
     </para>
   </listitem>
   <listitem>
     <para>
-No packet containing the same pair (N, T) can have been received
+No packet containing the same pair (&variable.N;, &variable.T;) can have been received
 in the last 1200 seconds (20 minutes).
     </para>
   </listitem>
 </itemizedlist>
-</sect1>
 </chapter>
 </book>
diff --git a/docbook.am b/docbook.am
new file mode 100644 (file)
index 0000000..bba4d54
--- /dev/null
@@ -0,0 +1,105 @@
+#
+# Generate output formats for a single DocBook/XML with/without chapters
+#
+# Variables set by the calling Makefile:
+# shelfdir: the location where the docs/specs are installed. Typically $(docdir)
+# docbook:  the main DocBook/XML file, no chapters, appendix or image files
+# chapters: all files pulled in by an XInclude statement and images.
+#
+
+#
+# This makefile is intended for Users Documentation and Functional Specifications.
+# Do not use for Developer Documentation which is not installed and does not require olink.
+# Refer to http://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html#id2584393
+# for an explanation on documents classification.
+#
+
+# DocBook/XML generated output formats to be installed
+shelf_DATA =
+
+# DocBook/XML file with chapters, appendix and images it includes
+dist_shelf_DATA = $(docbook) $(chapters)
+
+if HAVE_XMLTO
+if HAVE_STYLESHEETS
+
+XMLTO_SEARCHPATH_FLAGS =                               \
+       --searchpath "$(XORG_SGML_PATH)/X11"            \
+       --searchpath "$(abs_top_builddir)"
+XMLTO_HTML_OLINK_FLAGS = \
+       --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
+       --stringparam current.docid="$(<:.xml=)"
+XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
+XMLTO_HTML_FLAGS =                                     \
+       $(XMLTO_SEARCHPATH_FLAGS)                       \
+       $(XMLTO_HTML_STYLESHEET_FLAGS)                  \
+       $(XMLTO_HTML_OLINK_FLAGS)
+
+shelf_DATA += $(docbook:.xml=.html)
+%.html: %.xml $(chapters)
+       $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $<
+
+if HAVE_XMLTO_TEXT
+
+shelf_DATA += $(docbook:.xml=.txt)
+%.txt: %.xml $(chapters)
+       $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $<
+endif HAVE_XMLTO_TEXT
+
+if HAVE_FOP
+XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
+XMLTO_PDF_OLINK_FLAGS = \
+       --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
+       --stringparam current.docid="$(<:.xml=)"
+XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
+
+XMLTO_FO_FLAGS =                                       \
+       $(XMLTO_SEARCHPATH_FLAGS)                       \
+       $(XMLTO_FO_STYLESHEET_FLAGS)                    \
+       $(XMLTO_FO_IMAGEPATH_FLAGS)                     \
+       $(XMLTO_PDF_OLINK_FLAGS)
+
+shelf_DATA += $(docbook:.xml=.pdf)
+%.pdf: %.xml $(chapters)
+       $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
+
+shelf_DATA += $(docbook:.xml=.ps)
+%.ps: %.xml $(chapters)
+       $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
+endif HAVE_FOP
+
+# Generate documents cross-reference target databases
+if HAVE_XSLTPROC
+
+XSLT_SEARCHPATH_FLAGS =                                \
+       --path "$(XORG_SGML_PATH)/X11"                  \
+       --path "$(abs_top_builddir)"
+XSLT_OLINK_FLAGS =                                     \
+       --stringparam targets.filename "$@"             \
+       --stringparam collect.xref.targets "only"       \
+       --stringparam olink.base.uri "$(@:.db=)"
+
+XSLT_HTML_FLAGS =                                      \
+       $(XSLT_SEARCHPATH_FLAGS)                        \
+       $(XSLT_OLINK_FLAGS)                             \
+       --nonet --xinclude                              \
+       $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
+XSLT_PDF_FLAGS =                                       \
+       $(XSLT_SEARCHPATH_FLAGS)                        \
+       $(XSLT_OLINK_FLAGS)                             \
+       --nonet --xinclude                              \
+       $(STYLESHEET_SRCDIR)/xorg-fo.xsl
+
+shelf_DATA += $(docbook:.xml=.html.db)
+%.html.db: %.xml  $(chapters)
+       $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
+
+shelf_DATA += $(docbook:.xml=.pdf.db)
+%.pdf.db: %.xml $(chapters)
+       $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
+
+endif HAVE_XSLTPROC
+endif HAVE_STYLESHEETS
+endif HAVE_XMLTO
+
+CLEANFILES = $(shelf_DATA)
old mode 100755 (executable)
new mode 100644 (file)
index 74ae4b3..99a5f95
@@ -25,7 +25,7 @@ _XFUNCPROTOBEGIN
 #define XDM_PROTOCOL_VERSION   1
 #define XDM_UDP_PORT           177
 
-/* IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned 
+/* IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned
  * multicast addresses for XDMCP, where X in the prefix may be replaced
  * by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
  * 5 for Site-Local, and so on.  We set the default here to the Link-Local
diff --git a/packaging/libXdmcp.spec b/packaging/libXdmcp.spec
new file mode 100644 (file)
index 0000000..f17681e
--- /dev/null
@@ -0,0 +1,63 @@
+Summary: X Display Manager Control Protocol library
+Name: libXdmcp
+Version: 1.1.1
+Release: 1
+License: MIT
+Group: System Environment/Libraries
+URL: http://www.x.org
+
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires:  pkgconfig(xproto)
+BuildRequires:  pkgconfig(xorg-macros)
+
+%description
+X Display Manager Control Protocol library.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Provides: libxdmcp-devel 
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+libXdmcp development package.
+
+%prep
+%setup -q
+
+%build
+%reconfigure --disable-static \
+           LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+
+# We intentionally don't ship *.la files
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+# manual fixup later
+rm -rf $RPM_BUILD_ROOT%{_docdir}
+
+%remove_docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog Wraphelp.README.crypto
+%{_libdir}/libXdmcp.so.6
+%{_libdir}/libXdmcp.so.6.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/X11/Xdmcp.h
+%{_libdir}/libXdmcp.so
+%{_libdir}/pkgconfig/xdmcp.pc
\ No newline at end of file
diff --git a/packaging/libxdmcp.spec b/packaging/libxdmcp.spec
deleted file mode 100644 (file)
index 1379ebc..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-Name:       libxdmcp
-Summary:    X.Org X11 libXdmcp runtime library
-Version:    1.1.0
-Release:    2.20
-Group:      System/Libraries
-License:    MIT
-URL:        http://www.x.org/
-Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz
-Requires(post):  /sbin/ldconfig
-Requires(postun):  /sbin/ldconfig
-BuildRequires:  pkgconfig(xproto)
-BuildRequires:  pkgconfig(xorg-macros)
-
-%description
-Description: %{summary}
-
-
-%package devel
-Summary:    Development components for the libXdmcp library
-Group:      Development/Libraries
-Requires:   %{name} = %{version}-%{release}
-
-%description devel
-Description: %{summary}
-
-
-%prep
-%setup -q -n %{name}-%{version}
-
-
-%build
-
-%reconfigure
-# Call make instruction with smp support
-make %{?jobs:-j%jobs}
-
-%install
-rm -rf %{buildroot}
-%make_install
-
-
-%clean
-rm -rf %{buildroot}
-
-
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-
-
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING README ChangeLog
-%{_libdir}/libXdmcp.so.6
-%{_libdir}/libXdmcp.so.6.0.0
-
-
-%files devel
-%defattr(-,root,root,-)
-%dir %{_includedir}/X11/
-%{_includedir}/X11/Xdmcp.h
-%{_libdir}/libXdmcp.so
-%{_libdir}/pkgconfig/xdmcp.pc
-%{_docdir}/libXdmcp/*
-