Update to libICE 1.0.8
This commit is contained in:
parent
bb3737dfe0
commit
5995f36226
@ -1,3 +1,712 @@
|
||||
commit f166e8bbf16ec214fefdcf02ce81f80442899cb7
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Fri Mar 2 19:59:50 2012 -0800
|
||||
|
||||
libICE 1.0.8
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit c87ecd959d61ae97d8a2bd82efc761bb3e299061
|
||||
Author: Matt Dew <marcoz@osource.org>
|
||||
Date: Mon Jan 9 21:25:18 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 8b4321a37a9fa2ad24bf87afabba6b08dcfded12
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Thu Nov 24 12:42:36 2011 -0800
|
||||
|
||||
Plug minor memory leak in unusual path through ProcessConnectionSetup
|
||||
|
||||
Error: Memory leak (CWE 401)
|
||||
Memory leak of pointer 'release' allocated with malloc((_len + 1))
|
||||
at line 1100 of src/process.c in function 'ProcessConnectionSetup'.
|
||||
'release' allocated at line 920 with malloc((_len + 1)).
|
||||
release leaks when _i >= hisAuthCount at line 925
|
||||
and i >= _IceAuthCount at line 973
|
||||
and found != 0 at line 998
|
||||
and status != 0 at line 1053
|
||||
and status != 1 at line 1070
|
||||
and accept_setup_now == 0 at line 1082
|
||||
and i >= hisAuthCount at line 1093.
|
||||
Memory leak of pointer 'vendor' allocated with malloc((_len + 1))
|
||||
at line 1100 of src/process.c in function 'ProcessConnectionSetup'.
|
||||
'vendor' allocated at line 919 with malloc((_len + 1)).
|
||||
vendor leaks when _i >= hisAuthCount at line 925
|
||||
and i >= _IceAuthCount at line 973
|
||||
and found != 0 at line 998
|
||||
and status != 0 at line 1053
|
||||
and status != 1 at line 1070
|
||||
and accept_setup_now == 0 at line 1082
|
||||
and i >= hisAuthCount at line 1093.
|
||||
|
||||
[ This bug was found by the Parfait 0.3.7 bug checking tool.
|
||||
For more information see http://labs.oracle.com/projects/parfait/ ]
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit caf9e3393d5d517ea129392d001a2c46a7c1f325
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Sat Nov 19 00:26:29 2011 -0800
|
||||
|
||||
Constify protocol, vendor & release string args to IceRegisterForProtocol*
|
||||
|
||||
Needed to resolve gcc -Wwrite-strings warnings in callers.
|
||||
These functions only pass the strings to strcmp before calling
|
||||
strdup to make their own private copy for storing away.
|
||||
|
||||
While fixing the API docs to match, also fix them to match the existing
|
||||
function prototypes, where there were several errors before (including
|
||||
just plain missing most of the args to IceRegisterForProtocolReply).
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit 59c1555dff34804c78c7e7443ad13f27300927eb
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Wed Nov 9 22:07:34 2011 -0800
|
||||
|
||||
Remove ancient workaround for System V/386 Release 4.2 compiler bug
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
|
||||
Reviewed-by: walter <wharms@bfs.de>
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit bec4e9c9089fa4cc5a50fc513a3544cf6fd59bf1
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Wed Nov 9 22:06:36 2011 -0800
|
||||
|
||||
Fix gcc -Wwrite-strings warnings in process.c
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit ffa659dd6dd1fb8847bfdcc5e1e2be353b6395b6
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Wed Nov 9 21:37:48 2011 -0800
|
||||
|
||||
Fix gcc -Wwrite-strings warnings in AuthNames handling
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit 902a52ea9d7b6e6f56f7023009859072854a0fc7
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Wed Nov 9 21:55:17 2011 -0800
|
||||
|
||||
constify arguments to IceGetAuthFileEntry
|
||||
|
||||
Needed to clear gcc -Wwrite-strings warnings in callers
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit 9ff1f97e46903f8f83363f07cf021989bfa6a9f0
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Wed Nov 9 21:43:59 2011 -0800
|
||||
|
||||
Fix gcc -Wwrite-strings warnings in _IceError* functions
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit e8a16534a9406d5096d9c0ea515d979c7c15e084
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Wed Nov 9 21:23:33 2011 -0800
|
||||
|
||||
Fix gcc -Wwrite-strings warnings in _IceDefaultErrorHandler
|
||||
|
||||
Had to split char *str into two variables, const char *str for the
|
||||
string literals just being passed to fprintf etal. and char *estr
|
||||
for use by EXTRACT_STRING for the results of malloc calls that get
|
||||
written to and then freed.
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit 4fbcba4ee19a49c05440861e1278bc97d29048e0
|
||||
Author: Matt Dew <marcoz@osource.org>
|
||||
Date: Tue Oct 4 23:32:02 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 d4e161e35335df82f412d2d2bb1ef95ff3e88401
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Mon Sep 19 15:34:47 2011 -0400
|
||||
|
||||
As of 1997, X Window System is a trademark of The Open Group.
|
||||
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit fc0fc948d25dfa0f6f445a3b55610ea5b864dd60
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Fri Sep 16 22:09:18 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 22601de3f38d035eb874d4bd9f649ddd2b3f0ae2
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Sun Sep 11 17:20:20 2011 -0400
|
||||
|
||||
specs: 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.
|
||||
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 7f330738f1f5862950b3baa35ff08446093bfd4e
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Sun Sep 11 17:06:00 2011 -0400
|
||||
|
||||
specs: use DocBook suggested markup for Copyrights
|
||||
|
||||
Puts the statement on a single line, using commas to separate years
|
||||
--> Copyright © 1993, 1994, 1996 X Consortium
|
||||
|
||||
As opposed to 3 double-spaced lines.
|
||||
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit d68d2d2031f623a969784e702c97a07b8cd99010
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Sun Sep 11 16:56:21 2011 -0400
|
||||
|
||||
specs: remove orphan <corpname>
|
||||
|
||||
It does not display on the title page and is redundant.
|
||||
No visible change on the doc.
|
||||
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 87c934b9b7973a814763670e2dfad0579a8dcc78
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Sun Sep 11 16:27:09 2011 -0400
|
||||
|
||||
specs: use the &fullrelvers; entity to set X11 release information
|
||||
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 41f04fd8673db5c2d8e587ab2c169a694bd7528f
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Sun Sep 11 14:13:35 2011 -0400
|
||||
|
||||
ice.xml: version number is 1.1, not 1.0
|
||||
|
||||
This is what it was before the conversion from roff to docbook.
|
||||
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 9e2a596b4ff06fc9c70dfcd94506e536e351ee0b
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Sun Sep 11 14:11:28 2011 -0400
|
||||
|
||||
ice.xml: fix orphan affiliation
|
||||
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 1309d477a061d165345b602e122990eaab71a0d4
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Fri Sep 9 21:21:57 2011 -0400
|
||||
|
||||
ICElib doc: remove empty revision list and specify the doc version number
|
||||
|
||||
Revision histories are not used, only 3 docs out of 63 have one.
|
||||
|
||||
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit e9d57773df26ad9440a49f58941b511e594605a4
|
||||
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 b83cbed755315f6300133f2621cbe99bdc06345a
|
||||
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 f35b8b8be16f1903beed34fe23fa53d102329342
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Sun Jun 12 17:54:50 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 4c9cbdb1b40799121456c692d960135d741f13c7
|
||||
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 72d668dd2ec4db9b75973ba24f42ab49851dbc6d
|
||||
Author: Matt Dew <marcoz@osource.org>
|
||||
Date: Wed May 25 22:54:51 2011 -0600
|
||||
|
||||
add id attributes to funcsynopsis to allow other docs to olink to them
|
||||
|
||||
Signed-off-by: Matt Dew <marcoz@osource.org>
|
||||
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit dd7f2beaa753541aefba499813f25de38cbd17b7
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Tue Apr 19 18:36:58 2011 -0700
|
||||
|
||||
IceWritePad: Zero fill pad bytes used when buffer is full
|
||||
|
||||
Should be rarely hit, since it's only in the case where most of the
|
||||
message fits in the buffer, but there's not room left for the padding
|
||||
bytes, but better than sending uninitialized bytes off the stack when
|
||||
it happens.
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit 663782989be82e7893c99eaa7cbe98ec25a23c38
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Tue Apr 19 18:19:19 2011 -0700
|
||||
|
||||
Fix reads outside array bounds in error handlers
|
||||
|
||||
Error: Buffer overrun
|
||||
Read outside array bounds (CWE 125): In call to memcpy(<unknown>, &mOp, 8), (size(&mOp) < (unsigned) 8)
|
||||
Array size is 1 bytes
|
||||
at line 296 of src/error.c in function '_IceErrorMajorOpcodeDuplicate'.
|
||||
Error: Buffer overrun
|
||||
Read outside array bounds (CWE 125): In call to memcpy(<unknown>, &maj, 8), (size(&maj) < (unsigned) 8)
|
||||
Array size is 1 bytes
|
||||
at line 346 of src/error.c in function '_IceErrorBadMajor'.
|
||||
|
||||
[ This bug was found by the Parfait 0.3.7 bug checking tool.
|
||||
For more information see http://labs.oracle.com/projects/parfait/ ]
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit daf686b7639919289b07a575a0d88efcb91d9732
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Wed Mar 30 20:15:07 2011 -0400
|
||||
|
||||
doc: xorg-sgml-doctools package at version 1.7 is required
|
||||
|
||||
This version contains support for external references
|
||||
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit fadb927532556adb471300c89de29d268aae9102
|
||||
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 483d32621c06bcba0c7aa7794633b46b151fd5bf
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Fri Feb 25 08:58:54 2011 -0500
|
||||
|
||||
Docbook: change the book id to match the xml file basename
|
||||
|
||||
This is required for the up-coming external references support.
|
||||
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 4852c5bb1603fb6d401fe6895d9318555a8d4523
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Wed Feb 2 19:13:54 2011 -0500
|
||||
|
||||
config: splitting ICE and XTRANS compiler options is not required
|
||||
|
||||
Simplify configuration by using a single PKG_CHECK_MODULES statement.
|
||||
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 87d34a2f04c9d920da01802cd9707c8107746fa5
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Wed Feb 2 11:43:40 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.
|
||||
|
||||
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 548eded10385ccc336e66dac8bbabe05f3225ec2
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Fri Jan 28 14:42:12 2011 -0500
|
||||
|
||||
config: remove unrequired AC_HEADER_STDC
|
||||
|
||||
Autoconf says:
|
||||
"This macro is obsolescent, as current systems have conforming
|
||||
header files. New programs need not use this macro".
|
||||
|
||||
commit 78b8e6b772685a2ed567ac2d30f96116f050dad5
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Fri Jan 7 19:29:03 2011 -0800
|
||||
|
||||
Resync fallback asprintf with updated version put into xrdb
|
||||
|
||||
Fixes issues found during xrdb review on xorg-devel
|
||||
Also make sure <stdarg.h> is #included for varargs macros
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit dc63c253e33b1012c08cd274e6e37bf0fa87c624
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Tue Dec 21 18:28:36 2010 -0800
|
||||
|
||||
Add AC_USE_SYSTEM_EXTENSIONS to make asprintf() visible in GNU libc
|
||||
|
||||
asprintf is considered a GNU extension and thus one needs to define
|
||||
_GNU_SOURCE before including stdio.h.
|
||||
|
||||
Reported-by: Cyril Brulebois <kibi@debian.org>
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
|
||||
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 4b4ec3aeaa7cf5f5a6490ad2ddc2b07d090214cb
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Sun Dec 19 09:57:05 2010 -0800
|
||||
|
||||
Use correct string pointer in asprintf() fallback
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit 308c8d3d5fbf96c1d4f313def50d4b001ac0d685
|
||||
Author: Paulo Zanoni <przanoni@gmail.com>
|
||||
Date: Fri Dec 17 14:59:22 2010 -0200
|
||||
|
||||
Remove useless line from a table in specs/ice.xml
|
||||
|
||||
This seems to be a leftover from a manpage/groff conversion.
|
||||
|
||||
Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
|
||||
Reviewed-by: Matt Dew
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit a72467b21662a63c81418731b540a8843d138750
|
||||
Author: Paulo Zanoni <pzanoni@mandriva.com>
|
||||
Date: Thu Dec 16 13:59:52 2010 -0200
|
||||
|
||||
Use docbookx.dtd version 4.3 for all docs
|
||||
|
||||
Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit e0280caf7cc9d0e1c2df3ab7c5a4fbe4e42696a9
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Sun Dec 5 01:15:42 2010 -0800
|
||||
|
||||
Convert src/process.c from malloc + sprintf to asprintf
|
||||
|
||||
Includes simple local implemenation of asprintf if configure doesn't
|
||||
find one in system libraries
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Reviewed-by: Julien Cristau <jcristau@debian.org>
|
||||
|
||||
commit a5669dcb488db19b1ba4f1ef4d4565b6c3d1ea09
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Sat Nov 20 19:47:53 2010 -0800
|
||||
|
||||
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
|
||||
|
||||
Regroup AC statements under the Autoconf initialization section.
|
||||
Regroup AM statements under the Automake initialization section.
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit d902a9f27369fc8388774e73f4bee6ab0ad86ef5
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Sat Nov 20 19:45:42 2010 -0800
|
||||
|
||||
config: Remove unnecessary calls from configure.ac
|
||||
|
||||
AC_PROG_CC is provided by XORG_DEFAULT_OPTIONS now
|
||||
PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit fd56c4e00a564d6385ccb2f8fadf10de201ae411
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Tue Nov 9 11:28:48 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 9856f5679b2b2d458cf830c1e8fdd206c724dfc5
|
||||
Author: Adam Jackson <ajax@redhat.com>
|
||||
Date: Tue Oct 19 11:19:08 2010 -0400
|
||||
|
||||
libICE 1.0.7
|
||||
|
||||
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||
|
||||
commit 59a8d5609398824c81b72deb82735a55332ca239
|
||||
Author: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
Date: Sun Oct 17 21:26:31 2010 -0700
|
||||
|
||||
Fix include ordering, so -I../include precedes $CPPFLAGS which could
|
||||
cause us to include installed rather than packaged headers.
|
||||
|
||||
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
||||
|
||||
commit 4a6f7a357222b2c1fa289d6e7b5fcc8c361e20e9
|
||||
Author: Jesse Adkins <jesserayadkins@gmail.com>
|
||||
Date: Tue Sep 28 13:30:01 2010 -0700
|
||||
|
||||
Purge cvs tags.
|
||||
|
||||
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit 5bb806a65bf23a507b135abe1e4a8b3cabc7b8aa
|
||||
Author: Matt Dew <matt@osource.org>
|
||||
Date: Wed Jun 30 16:52:22 2010 -0400
|
||||
|
||||
specs: convert ICE doc/specs from xorg-docs module to DocBook XML
|
||||
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 9b54f509832c50c1fac0edc0cb78e1a3454a56dc
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Tue Jun 8 20:12:53 2010 -0700
|
||||
|
||||
Move ICE protocol & API specs from xorg-docs module
|
||||
|
||||
For now, just checked in and included in dist tarballs, not processed
|
||||
into a usable format - same as it was in xorg-docs
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit 1967c04c021a4cfd7b3cdd4efdc13610b4385a65
|
||||
Author: Julien Cristau <jcristau@debian.org>
|
||||
Date: Tue May 11 16:36:20 2010 +0200
|
||||
|
||||
Set the close-on-exec flag for listening sockets
|
||||
|
||||
This prevents xsm from leaking file descriptors to the processes it
|
||||
starts.
|
||||
|
||||
X.Org bug#22932 <http://bugs.freedesktop.org/show_bug.cgi?id=22932>
|
||||
|
||||
Reported-by: Kalle Olavi Niemitalo <kon@iki.fi>
|
||||
Signed-off-by: Julien Cristau <jcristau@debian.org>
|
||||
|
||||
commit b6478dbedcca4d4cf44bd588c050bcc70c2f4963
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Mon Apr 5 19:50:40 2010 -0400
|
||||
|
||||
config: update AC_PREREQ statement to 2.60
|
||||
|
||||
Unrelated to the previous patches, the new value simply reflects
|
||||
the reality that the minimum level for autoconf to configure
|
||||
all x.org modules is 2.60 dated June 2006.
|
||||
|
||||
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
|
||||
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 8e175ff18649bd30e862b6a6a5f82a4ed4d5241a
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Mon Mar 29 14:53:48 2010 -0400
|
||||
|
||||
config: remove the pkgconfig pc.in file from EXTRA_DIST
|
||||
|
||||
Automake always includes it in the tarball.
|
||||
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 09d61dc024d9846525e4c97d33cdf03c9f06c151
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Tue Feb 16 10:37:21 2010 -0500
|
||||
|
||||
config: move CWARNFLAGS from configure.ac to Makefile.am
|
||||
|
||||
Compiler warning flags should be explicitly set in the makefile
|
||||
rather than being merged with other packages compiler flags.
|
||||
|
||||
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 72b8a2d39a57eb0640929b9bb9f276c6032f8213
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Fri Nov 27 20:56:03 2009 -0500
|
||||
|
||||
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
|
||||
|
||||
Now that the INSTALL file is generated.
|
||||
Allows running make maintainer-clean.
|
||||
|
||||
commit 68231f8574e197a12eff1ddde37166d101567269
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Wed Oct 28 14:09:10 2009 -0400
|
||||
|
||||
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
|
||||
|
||||
Add missing INSTALL file. Use standard GNU file on building tarball
|
||||
README may have been updated
|
||||
Remove AUTHORS file as it is empty and no content available yet.
|
||||
Remove NEWS file as it is empty and no content available yet.
|
||||
|
||||
commit b5cfc1cdd367c93660259a86b3b6683c57e5d76a
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Tue Oct 27 15:07:25 2009 -0400
|
||||
|
||||
Deploy the new XORG_DEFAULT_OPTIONS #24242
|
||||
|
||||
This macro aggregate a number of existing macros that sets commmon
|
||||
X.Org components configuration options. It shields the configuration file from
|
||||
future changes.
|
||||
|
||||
commit 5524fa4d543932e4565b2235515fef9a5d9a501d
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Mon Oct 26 22:08:41 2009 -0400
|
||||
|
||||
Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
|
||||
|
||||
ChangeLog filename is known to Automake and requires no further
|
||||
coding in the makefile.
|
||||
|
||||
commit 82ad2d2053af2ad37697793b9718721aa3ff80a0
|
||||
Author: Gaetan Nadon <memsize@videotron.ca>
|
||||
Date: Thu Oct 22 12:34:18 2009 -0400
|
||||
|
||||
.gitignore: use common defaults with custom section # 24239
|
||||
|
||||
Using common defaults will reduce errors and maintenance.
|
||||
Only the very small or inexistent custom section need periodic maintenance
|
||||
when the structure of the component changes. Do not edit defaults.
|
||||
|
||||
commit 4b2289ad5481de7fa51941cf6c2ca7a2a3202690
|
||||
Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
|
||||
Date: Wed Oct 21 12:47:23 2009 -0700
|
||||
|
||||
This is not a GNU project, so declare it foreign.
|
||||
|
||||
On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote:
|
||||
> On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote:
|
||||
> > I noticed an INSTALL file in xlsclients and libXvMC today, and it
|
||||
> > was quite annoying to work around since 'autoreconf -fvi' replaces
|
||||
> > it and git wants to commit it. Should these files even be in git?
|
||||
> > Can I nuke them for the betterment of humanity and since they get
|
||||
> > created by autoreconf anyways?
|
||||
>
|
||||
> See https://bugs.freedesktop.org/show_bug.cgi?id=24206
|
||||
|
||||
As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with
|
||||
AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation
|
||||
of the INSTALL file. It is also part of the 24206 solution.
|
||||
|
||||
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
|
||||
|
||||
commit 94992c686a6850f2303aa78057a64a6369b64692
|
||||
Author: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Fri Aug 28 14:17:50 2009 +1000
|
||||
|
@ -1,16 +1,19 @@
|
||||
Installation Instructions
|
||||
*************************
|
||||
|
||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
|
||||
Software Foundation, Inc.
|
||||
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
|
||||
This file is free documentation; the Free Software Foundation gives
|
||||
unlimited permission to copy, distribute and modify it.
|
||||
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
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
|
||||
@ -23,9 +26,9 @@ 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
|
||||
the results of its tests to speed up reconfiguring. Caching is
|
||||
disabled by default to prevent problems with accidental use of stale
|
||||
cache files.)
|
||||
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
|
||||
@ -35,20 +38,17 @@ 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 only need
|
||||
`configure.ac' if you want to change it or regenerate `configure' using
|
||||
a newer version of `autoconf'.
|
||||
`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. If you're
|
||||
using `csh' on an old version of System V, you might need to type
|
||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||
`configure' itself.
|
||||
`./configure' to configure the package for your system.
|
||||
|
||||
Running `configure' takes awhile. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
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.
|
||||
|
||||
@ -67,42 +67,57 @@ The simplest way to compile this package is:
|
||||
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.
|
||||
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=c89 CFLAGS=-O2 LIBS=-lposix
|
||||
./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
|
||||
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 must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
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 `..'.
|
||||
|
||||
If you have to use a `make' that does not support the `VPATH'
|
||||
variable, you have 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.
|
||||
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
|
||||
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'.
|
||||
@ -125,7 +140,7 @@ option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
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
|
||||
@ -137,14 +152,36 @@ 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
|
||||
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:
|
||||
|
||||
@ -170,9 +207,9 @@ 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'.
|
||||
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.
|
||||
@ -181,7 +218,7 @@ 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
|
||||
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
|
||||
@ -190,21 +227,29 @@ 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). Here is a another example:
|
||||
overridden in the site shell script).
|
||||
|
||||
/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
||||
|
||||
Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
|
||||
configuration-related scripts to be executed by `/bin/bash'.
|
||||
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
|
||||
`configure' Invocation
|
||||
======================
|
||||
|
||||
`configure' recognizes the following options to control how it operates.
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--help'
|
||||
`-h'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
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'
|
||||
@ -231,6 +276,16 @@ configuration-related scripts to be executed by `/bin/bash'.
|
||||
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.
|
||||
|
||||
|
@ -1,16 +1,19 @@
|
||||
SUBDIRS = src
|
||||
SUBDIRS = doc specs src
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = ice.pc
|
||||
|
||||
EXTRA_DIST=ice.pc.in ChangeLog
|
||||
MAINTAINERCLEANFILES = ChangeLog INSTALL
|
||||
|
||||
.PHONY: ChangeLog
|
||||
.PHONY: ChangeLog INSTALL
|
||||
|
||||
INSTALL:
|
||||
$(INSTALL_CMD)
|
||||
|
||||
ChangeLog:
|
||||
$(CHANGELOG_CMD)
|
||||
|
||||
dist-hook: ChangeLog
|
||||
dist-hook: ChangeLog INSTALL
|
||||
|
||||
if LINT
|
||||
lint:
|
||||
|
@ -23,9 +23,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = .
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = ${SHELL} $(install_sh) -c
|
||||
install_sh_SCRIPT = ${SHELL} $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
@ -81,15 +81,22 @@ am__remove_distdir = \
|
||||
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
|
||||
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
APP_MAN_DIR = @APP_MAN_DIR@
|
||||
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BASE_CFLAGS = @BASE_CFLAGS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
@ -97,38 +104,58 @@ CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CWARNFLAGS = @CWARNFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
|
||||
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
ECHO = @ECHO@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@
|
||||
ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@
|
||||
ENABLE_SPECS_FALSE = @ENABLE_SPECS_FALSE@
|
||||
ENABLE_SPECS_TRUE = @ENABLE_SPECS_TRUE@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
FGREP = @FGREP@
|
||||
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||
FOP = @FOP@
|
||||
GREP = @GREP@
|
||||
HAVE_FOP_FALSE = @HAVE_FOP_FALSE@
|
||||
HAVE_FOP_TRUE = @HAVE_FOP_TRUE@
|
||||
HAVE_STYLESHEETS_FALSE = @HAVE_STYLESHEETS_FALSE@
|
||||
HAVE_STYLESHEETS_TRUE = @HAVE_STYLESHEETS_TRUE@
|
||||
HAVE_XMLTO_FALSE = @HAVE_XMLTO_FALSE@
|
||||
HAVE_XMLTO_TEXT_FALSE = @HAVE_XMLTO_TEXT_FALSE@
|
||||
HAVE_XMLTO_TEXT_TRUE = @HAVE_XMLTO_TEXT_TRUE@
|
||||
HAVE_XMLTO_TRUE = @HAVE_XMLTO_TRUE@
|
||||
HAVE_XSLTPROC_FALSE = @HAVE_XSLTPROC_FALSE@
|
||||
HAVE_XSLTPROC_TRUE = @HAVE_XSLTPROC_TRUE@
|
||||
ICE_CFLAGS = @ICE_CFLAGS@
|
||||
ICE_LIBS = @ICE_LIBS@
|
||||
INSTALL_CMD = @INSTALL_CMD@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_MAN_DIR = @LIB_MAN_DIR@
|
||||
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
|
||||
LINT = @LINT@
|
||||
LINTLIB = @LINTLIB@
|
||||
LINT_FALSE = @LINT_FALSE@
|
||||
LINT_FLAGS = @LINT_FLAGS@
|
||||
LINT_TRUE = @LINT_TRUE@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
@ -137,8 +164,16 @@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_LINT_LIB_FALSE = @MAKE_LINT_LIB_FALSE@
|
||||
MAKE_LINT_LIB_TRUE = @MAKE_LINT_LIB_TRUE@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MAN_SUBSTS = @MAN_SUBSTS@
|
||||
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
@ -151,17 +186,20 @@ RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRICT_CFLAGS = @STRICT_CFLAGS@
|
||||
STRIP = @STRIP@
|
||||
STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
|
||||
VERSION = @VERSION@
|
||||
XTRANS_CFLAGS = @XTRANS_CFLAGS@
|
||||
XTRANS_LIBS = @XTRANS_LIBS@
|
||||
XMLTO = @XMLTO@
|
||||
XORG_MAN_PAGE = @XORG_MAN_PAGE@
|
||||
XORG_SGML_PATH = @XORG_SGML_PATH@
|
||||
XSLTPROC = @XSLTPROC@
|
||||
XSL_STYLESHEET = @XSL_STYLESHEET@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
@ -175,7 +213,6 @@ build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
distcleancheck_listfiles = @distcleancheck_listfiles@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
@ -203,10 +240,10 @@ sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
SUBDIRS = src
|
||||
SUBDIRS = doc specs src
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = ice.pc
|
||||
EXTRA_DIST = ice.pc.in ChangeLog
|
||||
MAINTAINERCLEANFILES = ChangeLog INSTALL
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
@ -217,15 +254,15 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
|
||||
cd $(srcdir) && $(AUTOMAKE) --gnu \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
|
||||
cd $(srcdir) && $(AUTOMAKE) --foreign \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu Makefile
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
@ -600,6 +637,7 @@ distclean-generic:
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
@ -670,12 +708,15 @@ uninstall-info: uninstall-info-recursive
|
||||
uninstall-pkgconfigDATA
|
||||
|
||||
|
||||
.PHONY: ChangeLog
|
||||
.PHONY: ChangeLog INSTALL
|
||||
|
||||
INSTALL:
|
||||
$(INSTALL_CMD)
|
||||
|
||||
ChangeLog:
|
||||
$(CHANGELOG_CMD)
|
||||
|
||||
dist-hook: ChangeLog
|
||||
dist-hook: ChangeLog INSTALL
|
||||
|
||||
@LINT_TRUE@lint:
|
||||
@LINT_TRUE@ (cd src && $(MAKE) $(MFLAGS) lint)
|
||||
|
@ -1,9 +1,9 @@
|
||||
libICE - Inter-Client Exchange Library
|
||||
|
||||
Documentation for this API can be found in the ICElib document in the
|
||||
doc/xorg-docs module of the X.Org source code, or online at:
|
||||
Documentation for this API can be found in the doc directory of the source
|
||||
code, or online at:
|
||||
|
||||
http://xorg.freedesktop.org/releases/X11R7.0/doc/PDF/ICElib.pdf
|
||||
http://xorg.freedesktop.org/releases/X11R7.0/doc/PDF/ICElib.pdf
|
||||
|
||||
All questions regarding this software should be directed at the
|
||||
Xorg mailing list:
|
||||
|
11436
lib/libICE/aclocal.m4
vendored
11436
lib/libICE/aclocal.m4
vendored
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,9 @@
|
||||
/* Define to 1 if `struct sockaddr_in' has a `sin_len' member */
|
||||
#undef BSD44SOCKETS
|
||||
|
||||
/* Define to 1 if you have the `asprintf' function. */
|
||||
#undef HAVE_ASPRINTF
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
@ -48,6 +51,10 @@
|
||||
/* Support os-specific local connections */
|
||||
#undef LOCALCONN
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#undef LT_OBJDIR
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
@ -89,3 +96,35 @@
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
#undef _MINIX
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
#undef _POSIX_1_SOURCE
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Enable extensions on AIX 3, Interix. */
|
||||
#ifndef _ALL_SOURCE
|
||||
# undef _ALL_SOURCE
|
||||
#endif
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# undef _GNU_SOURCE
|
||||
#endif
|
||||
/* Enable threading extensions on Solaris. */
|
||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||
# undef _POSIX_PTHREAD_SEMANTICS
|
||||
#endif
|
||||
/* Enable extensions on HP NonStop. */
|
||||
#ifndef _TANDEM_SOURCE
|
||||
# undef _TANDEM_SOURCE
|
||||
#endif
|
||||
/* Enable general extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# undef __EXTENSIONS__
|
||||
#endif
|
||||
|
||||
|
29772
lib/libICE/configure
vendored
29772
lib/libICE/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -1,55 +1,53 @@
|
||||
# -*- Autoconf -*-
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT([libICE],
|
||||
1.0.6,
|
||||
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
|
||||
libICE)
|
||||
|
||||
# Initialize Autoconf
|
||||
AC_PREREQ([2.60])
|
||||
AC_INIT([libICE], [1.0.8],
|
||||
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libICE])
|
||||
AC_CONFIG_SRCDIR([Makefile.am])
|
||||
AM_INIT_AUTOMAKE([dist-bzip2])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
# Set common system defines for POSIX extensions, such as _GNU_SOURCE
|
||||
# Must be called before any macros that run the compiler (like
|
||||
# AC_PROG_LIBTOOL or XORG_DEFAULT_OPTIONS) to avoid autoconf errors.
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
||||
# Initialize Automake
|
||||
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
# Require xorg-macros at least 1.2.1
|
||||
XORG_MACROS_VERSION([1.2.1])
|
||||
m4_ifndef([XORG_MACROS_VERSION],
|
||||
[AC_FATAL([must install xorg-macros 1.2.1 or later before running autoconf/autogen])])
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
|
||||
# Checks for programs.
|
||||
# Initialize libtool
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PROG_CC
|
||||
XORG_CWARNFLAGS
|
||||
|
||||
# Checks for pkg-config packages
|
||||
PKG_CHECK_MODULES(ICE, xproto)
|
||||
ICE_CFLAGS="$CWARNFLAGS $ICE_CFLAGS"
|
||||
AC_SUBST(ICE_CFLAGS)
|
||||
AC_SUBST(ICE_LIBS)
|
||||
# Require xorg-macros minimum of 1.12 for DocBook external references
|
||||
m4_ifndef([XORG_MACROS_VERSION],
|
||||
[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_ENABLE_SPECS
|
||||
XORG_WITH_XMLTO(0.0.22)
|
||||
XORG_WITH_FOP
|
||||
XORG_WITH_XSLTPROC
|
||||
XORG_CHECK_SGML_DOCTOOLS(1.8)
|
||||
|
||||
PKG_CHECK_MODULES(XTRANS, xtrans)
|
||||
AC_SUBST(XTRANS_CFLAGS)
|
||||
AC_SUBST(XTRANS_LIBS)
|
||||
# Obtain compiler/linker options for depedencies
|
||||
PKG_CHECK_MODULES(ICE, xproto xtrans)
|
||||
|
||||
# Transport selection macro from xtrans.m4
|
||||
XTRANS_CONNECTION_FLAGS
|
||||
AC_DEFINE(ICE_t, 1, [Xtrans transport type])
|
||||
|
||||
# Checks for libraries.
|
||||
# Checks for library functions.
|
||||
AC_CHECK_FUNCS([asprintf])
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
||||
dnl Allow checking code with lint, sparse, etc.
|
||||
# Allow checking code with lint, sparse, etc.
|
||||
XORG_WITH_LINT
|
||||
XORG_LINT_LIBRARY([ICE])
|
||||
LINT_FLAGS="${LINT_FLAGS} ${ICE_CFLAGS} ${XTRANS_CFLAGS}"
|
||||
|
||||
XORG_RELEASE_VERSION
|
||||
XORG_CHANGELOG
|
||||
|
||||
AC_OUTPUT([Makefile
|
||||
src/Makefile
|
||||
ice.pc])
|
||||
AC_CONFIG_FILES([Makefile
|
||||
doc/Makefile
|
||||
specs/Makefile
|
||||
src/Makefile
|
||||
ice.pc])
|
||||
AC_OUTPUT
|
||||
|
4581
lib/libICE/doc/ICElib.xml
Normal file
4581
lib/libICE/doc/ICElib.xml
Normal file
File diff suppressed because it is too large
Load Diff
13
lib/libICE/doc/Makefile.am
Normal file
13
lib/libICE/doc/Makefile.am
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
if ENABLE_DOCS
|
||||
|
||||
# Main DocBook/XML files (DOCTYPE book)
|
||||
docbook = ICElib.xml
|
||||
|
||||
# The location where the DocBook/XML files and their generated formats are installed
|
||||
shelfdir = $(docdir)
|
||||
|
||||
# Generate DocBook/XML output formats with or without stylesheets
|
||||
include $(top_srcdir)/docbook.am
|
||||
|
||||
endif ENABLE_DOCS
|
523
lib/libICE/doc/Makefile.in
Normal file
523
lib/libICE/doc/Makefile.in
Normal file
@ -0,0 +1,523 @@
|
||||
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ..
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = ${SHELL} $(install_sh) -c
|
||||
install_sh_SCRIPT = ${SHELL} $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
DIST_COMMON = $(am__dist_shelf_DATA_DIST) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(top_srcdir)/docbook.am
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_1 = $(docbook:.xml=.html)
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_2 = $(docbook:.xml=.txt)
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = $(docbook:.xml=.pdf) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(docbook:.xml=.ps)
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@am__append_4 = $(docbook:.xml=.html.db) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(docbook:.xml=.pdf.db)
|
||||
subdir = doc
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(SHELL) $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
am__dist_shelf_DATA_DIST = ICElib.xml
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
am__installdirs = "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"
|
||||
dist_shelfDATA_INSTALL = $(INSTALL_DATA)
|
||||
shelfDATA_INSTALL = $(INSTALL_DATA)
|
||||
DATA = $(dist_shelf_DATA) $(shelf_DATA)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
|
||||
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
APP_MAN_DIR = @APP_MAN_DIR@
|
||||
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BASE_CFLAGS = @BASE_CFLAGS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CWARNFLAGS = @CWARNFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
|
||||
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@
|
||||
ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@
|
||||
ENABLE_SPECS_FALSE = @ENABLE_SPECS_FALSE@
|
||||
ENABLE_SPECS_TRUE = @ENABLE_SPECS_TRUE@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||
FOP = @FOP@
|
||||
GREP = @GREP@
|
||||
HAVE_FOP_FALSE = @HAVE_FOP_FALSE@
|
||||
HAVE_FOP_TRUE = @HAVE_FOP_TRUE@
|
||||
HAVE_STYLESHEETS_FALSE = @HAVE_STYLESHEETS_FALSE@
|
||||
HAVE_STYLESHEETS_TRUE = @HAVE_STYLESHEETS_TRUE@
|
||||
HAVE_XMLTO_FALSE = @HAVE_XMLTO_FALSE@
|
||||
HAVE_XMLTO_TEXT_FALSE = @HAVE_XMLTO_TEXT_FALSE@
|
||||
HAVE_XMLTO_TEXT_TRUE = @HAVE_XMLTO_TEXT_TRUE@
|
||||
HAVE_XMLTO_TRUE = @HAVE_XMLTO_TRUE@
|
||||
HAVE_XSLTPROC_FALSE = @HAVE_XSLTPROC_FALSE@
|
||||
HAVE_XSLTPROC_TRUE = @HAVE_XSLTPROC_TRUE@
|
||||
ICE_CFLAGS = @ICE_CFLAGS@
|
||||
ICE_LIBS = @ICE_LIBS@
|
||||
INSTALL_CMD = @INSTALL_CMD@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_MAN_DIR = @LIB_MAN_DIR@
|
||||
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
|
||||
LINT = @LINT@
|
||||
LINTLIB = @LINTLIB@
|
||||
LINT_FALSE = @LINT_FALSE@
|
||||
LINT_FLAGS = @LINT_FLAGS@
|
||||
LINT_TRUE = @LINT_TRUE@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
||||
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_LINT_LIB_FALSE = @MAKE_LINT_LIB_FALSE@
|
||||
MAKE_LINT_LIB_TRUE = @MAKE_LINT_LIB_TRUE@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MAN_SUBSTS = @MAN_SUBSTS@
|
||||
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRICT_CFLAGS = @STRICT_CFLAGS@
|
||||
STRIP = @STRIP@
|
||||
STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
|
||||
VERSION = @VERSION@
|
||||
XMLTO = @XMLTO@
|
||||
XORG_MAN_PAGE = @XORG_MAN_PAGE@
|
||||
XORG_SGML_PATH = @XORG_SGML_PATH@
|
||||
XSLTPROC = @XSLTPROC@
|
||||
XSL_STYLESHEET = @XSL_STYLESHEET@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
|
||||
# Main DocBook/XML files (DOCTYPE book)
|
||||
@ENABLE_DOCS_TRUE@docbook = ICElib.xml
|
||||
|
||||
# The location where the DocBook/XML files and their generated formats are installed
|
||||
@ENABLE_DOCS_TRUE@shelfdir = $(docdir)
|
||||
|
||||
# DocBook/XML generated output formats to be installed
|
||||
@ENABLE_DOCS_TRUE@shelf_DATA = $(am__append_1) $(am__append_2) \
|
||||
@ENABLE_DOCS_TRUE@ $(am__append_3) $(am__append_4)
|
||||
|
||||
# DocBook/XML file with chapters, appendix and images it includes
|
||||
@ENABLE_DOCS_TRUE@dist_shelf_DATA = $(docbook) $(chapters)
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_SEARCHPATH_FLAGS = \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --searchpath "$(XORG_SGML_PATH)/X11" \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --searchpath "$(abs_top_builddir)"
|
||||
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_OLINK_FLAGS = \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --stringparam current.docid="$(<:.xml=)"
|
||||
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_FLAGS = \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_SEARCHPATH_FLAGS) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_HTML_STYLESHEET_FLAGS) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_HTML_OLINK_FLAGS)
|
||||
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_PDF_OLINK_FLAGS = \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --stringparam current.docid="$(<:.xml=)"
|
||||
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_FLAGS = \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_SEARCHPATH_FLAGS) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_FO_STYLESHEET_FLAGS) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_FO_IMAGEPATH_FLAGS) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_PDF_OLINK_FLAGS)
|
||||
|
||||
|
||||
# Generate documents cross-reference target databases
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_SEARCHPATH_FLAGS = \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --path "$(XORG_SGML_PATH)/X11" \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --path "$(abs_top_builddir)"
|
||||
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_OLINK_FLAGS = \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --stringparam targets.filename "$@" \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --stringparam collect.xref.targets "only" \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --stringparam olink.base.uri "$(@:.db=)"
|
||||
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_HTML_FLAGS = \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(XSLT_SEARCHPATH_FLAGS) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(XSLT_OLINK_FLAGS) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --nonet --xinclude \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
|
||||
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_PDF_FLAGS = \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(XSLT_SEARCHPATH_FLAGS) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(XSLT_OLINK_FLAGS) \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --nonet --xinclude \
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(STYLESHEET_SRCDIR)/xorg-fo.xsl
|
||||
|
||||
@ENABLE_DOCS_TRUE@CLEANFILES = $(shelf_DATA)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docbook.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign doc/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
uninstall-info-am:
|
||||
install-dist_shelfDATA: $(dist_shelf_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(shelfdir)" || $(mkdir_p) "$(DESTDIR)$(shelfdir)"
|
||||
@list='$(dist_shelf_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(dist_shelfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(shelfdir)/$$f'"; \
|
||||
$(dist_shelfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(shelfdir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-dist_shelfDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(dist_shelf_DATA)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(shelfdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(shelfdir)/$$f"; \
|
||||
done
|
||||
install-shelfDATA: $(shelf_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(shelfdir)" || $(mkdir_p) "$(DESTDIR)$(shelfdir)"
|
||||
@list='$(shelf_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(shelfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(shelfdir)/$$f'"; \
|
||||
$(shelfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(shelfdir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-shelfDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(shelf_DATA)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(shelfdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(shelfdir)/$$f"; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(mkdir_p) $(distdir)/..
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkdir_p) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(DATA)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"; do \
|
||||
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-libtool
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-dist_shelfDATA install-shelfDATA
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-dist_shelfDATA uninstall-info-am \
|
||||
uninstall-shelfDATA
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
distclean distclean-generic distclean-libtool distdir dvi \
|
||||
dvi-am html html-am info info-am install install-am \
|
||||
install-data install-data-am install-dist_shelfDATA \
|
||||
install-exec install-exec-am install-info install-info-am \
|
||||
install-man install-shelfDATA install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
|
||||
uninstall-dist_shelfDATA uninstall-info-am uninstall-shelfDATA
|
||||
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.html: %.xml $(chapters)
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $<
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@%.txt: %.xml $(chapters)
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $<
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.pdf: %.xml $(chapters)
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.ps: %.xml $(chapters)
|
||||
@ENABLE_DOCS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.html.db: %.xml $(chapters)
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.pdf.db: %.xml $(chapters)
|
||||
@ENABLE_DOCS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
|
||||
|
||||
# Generate DocBook/XML output formats with or without stylesheets
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
105
lib/libICE/docbook.am
Normal file
105
lib/libICE/docbook.am
Normal file
@ -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)
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: ICE.h,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: ICEconn.h,v 1.5 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -33,7 +32,7 @@ Author: Ralph Mor, X Consortium
|
||||
#include <X11/ICE/ICElib.h>
|
||||
|
||||
/*
|
||||
* Data structures for ICE connection object
|
||||
* Data structures for ICE connection object
|
||||
*/
|
||||
|
||||
typedef struct _IceSavedReplyWait {
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: ICElib.h,v 1.5 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/ICElib.h,v 3.4 2001/12/14 19:53:35 dawes Exp $ */
|
||||
|
||||
#ifndef _ICELIB_H_
|
||||
#define _ICELIB_H_
|
||||
@ -208,9 +206,9 @@ typedef void (*IceIOErrorHandler) (
|
||||
_XFUNCPROTOBEGIN
|
||||
|
||||
extern int IceRegisterForProtocolSetup (
|
||||
char * /* protocolName */,
|
||||
char * /* vendor */,
|
||||
char * /* release */,
|
||||
const char * /* protocolName */,
|
||||
const char * /* vendor */,
|
||||
const char * /* release */,
|
||||
int /* versionCount */,
|
||||
IcePoVersionRec * /* versionRecs */,
|
||||
int /* authCount */,
|
||||
@ -220,9 +218,9 @@ extern int IceRegisterForProtocolSetup (
|
||||
);
|
||||
|
||||
extern int IceRegisterForProtocolReply (
|
||||
char * /* protocolName */,
|
||||
char * /* vendor */,
|
||||
char * /* release */,
|
||||
const char * /* protocolName */,
|
||||
const char * /* vendor */,
|
||||
const char * /* release */,
|
||||
int /* versionCount */,
|
||||
IcePaVersionRec * /* versionRecs */,
|
||||
int /* authCount */,
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: ICEmsg.h,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/ICEmsg.h,v 1.4 2001/12/20 19:40:59 tsi Exp $ */
|
||||
|
||||
#ifndef _ICEMSG_H_
|
||||
#define _ICEMSG_H_
|
||||
@ -219,15 +217,15 @@ extern IcePaAuthStatus _IcePaMagicCookie1Proc (
|
||||
|
||||
/*
|
||||
* Write pad bytes. Used to force 32 or 64 bit alignment.
|
||||
* A maxium of 7 pad bytes can be specified.
|
||||
* A maximum of 7 pad bytes can be specified.
|
||||
*/
|
||||
|
||||
#define IceWritePad(_iceConn, _bytes) \
|
||||
{ \
|
||||
if ((_iceConn->outbufptr + (_bytes)) > _iceConn->outbufmax) \
|
||||
{ \
|
||||
char _dummy[7]; \
|
||||
IceFlush (_iceConn); \
|
||||
char _dummy[7] = { 0 }; \
|
||||
IceFlush (_iceConn); \
|
||||
_IceWrite (_iceConn, (unsigned long) (_bytes), _dummy); \
|
||||
} \
|
||||
else \
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: ICEproto.h,v 1.5 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: ICEutil.h,v 1.5 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/ICEutil.h,v 1.4 2001/12/20 19:40:59 tsi Exp $ */
|
||||
|
||||
#ifndef _ICEUTIL_H_
|
||||
#define _ICEUTIL_H_
|
||||
@ -107,9 +105,9 @@ extern Status IceWriteAuthFileEntry (
|
||||
);
|
||||
|
||||
extern IceAuthFileEntry *IceGetAuthFileEntry (
|
||||
char * /* protocol_name */,
|
||||
char * /* network_id */,
|
||||
char * /* auth_name */
|
||||
const char * /* protocol_name */,
|
||||
const char * /* network_id */,
|
||||
const char * /* auth_name */
|
||||
);
|
||||
|
||||
extern char *IceGenerateMagicCookie (
|
||||
|
10136
lib/libICE/ltmain.sh
10136
lib/libICE/ltmain.sh
File diff suppressed because it is too large
Load Diff
13
lib/libICE/specs/Makefile.am
Normal file
13
lib/libICE/specs/Makefile.am
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
if ENABLE_SPECS
|
||||
|
||||
# Main DocBook/XML files (DOCTYPE book)
|
||||
docbook = ice.xml
|
||||
|
||||
# The location where the DocBook/XML files and their generated formats are installed
|
||||
shelfdir = $(docdir)
|
||||
|
||||
# Generate DocBook/XML output formats with or without stylesheets
|
||||
include $(top_srcdir)/docbook.am
|
||||
|
||||
endif ENABLE_SPECS
|
523
lib/libICE/specs/Makefile.in
Normal file
523
lib/libICE/specs/Makefile.in
Normal file
@ -0,0 +1,523 @@
|
||||
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ..
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = ${SHELL} $(install_sh) -c
|
||||
install_sh_SCRIPT = ${SHELL} $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
DIST_COMMON = $(am__dist_shelf_DATA_DIST) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(top_srcdir)/docbook.am
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_1 = $(docbook:.xml=.html)
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@am__append_2 = $(docbook:.xml=.txt)
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@am__append_3 = $(docbook:.xml=.pdf) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(docbook:.xml=.ps)
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@am__append_4 = $(docbook:.xml=.html.db) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(docbook:.xml=.pdf.db)
|
||||
subdir = specs
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(SHELL) $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
am__dist_shelf_DATA_DIST = ice.xml
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||
am__installdirs = "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"
|
||||
dist_shelfDATA_INSTALL = $(INSTALL_DATA)
|
||||
shelfDATA_INSTALL = $(INSTALL_DATA)
|
||||
DATA = $(dist_shelf_DATA) $(shelf_DATA)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
|
||||
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
APP_MAN_DIR = @APP_MAN_DIR@
|
||||
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BASE_CFLAGS = @BASE_CFLAGS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CWARNFLAGS = @CWARNFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
|
||||
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@
|
||||
ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@
|
||||
ENABLE_SPECS_FALSE = @ENABLE_SPECS_FALSE@
|
||||
ENABLE_SPECS_TRUE = @ENABLE_SPECS_TRUE@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||
FOP = @FOP@
|
||||
GREP = @GREP@
|
||||
HAVE_FOP_FALSE = @HAVE_FOP_FALSE@
|
||||
HAVE_FOP_TRUE = @HAVE_FOP_TRUE@
|
||||
HAVE_STYLESHEETS_FALSE = @HAVE_STYLESHEETS_FALSE@
|
||||
HAVE_STYLESHEETS_TRUE = @HAVE_STYLESHEETS_TRUE@
|
||||
HAVE_XMLTO_FALSE = @HAVE_XMLTO_FALSE@
|
||||
HAVE_XMLTO_TEXT_FALSE = @HAVE_XMLTO_TEXT_FALSE@
|
||||
HAVE_XMLTO_TEXT_TRUE = @HAVE_XMLTO_TEXT_TRUE@
|
||||
HAVE_XMLTO_TRUE = @HAVE_XMLTO_TRUE@
|
||||
HAVE_XSLTPROC_FALSE = @HAVE_XSLTPROC_FALSE@
|
||||
HAVE_XSLTPROC_TRUE = @HAVE_XSLTPROC_TRUE@
|
||||
ICE_CFLAGS = @ICE_CFLAGS@
|
||||
ICE_LIBS = @ICE_LIBS@
|
||||
INSTALL_CMD = @INSTALL_CMD@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_MAN_DIR = @LIB_MAN_DIR@
|
||||
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
|
||||
LINT = @LINT@
|
||||
LINTLIB = @LINTLIB@
|
||||
LINT_FALSE = @LINT_FALSE@
|
||||
LINT_FLAGS = @LINT_FLAGS@
|
||||
LINT_TRUE = @LINT_TRUE@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
||||
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_LINT_LIB_FALSE = @MAKE_LINT_LIB_FALSE@
|
||||
MAKE_LINT_LIB_TRUE = @MAKE_LINT_LIB_TRUE@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MAN_SUBSTS = @MAN_SUBSTS@
|
||||
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRICT_CFLAGS = @STRICT_CFLAGS@
|
||||
STRIP = @STRIP@
|
||||
STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
|
||||
VERSION = @VERSION@
|
||||
XMLTO = @XMLTO@
|
||||
XORG_MAN_PAGE = @XORG_MAN_PAGE@
|
||||
XORG_SGML_PATH = @XORG_SGML_PATH@
|
||||
XSLTPROC = @XSLTPROC@
|
||||
XSL_STYLESHEET = @XSL_STYLESHEET@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
|
||||
# Main DocBook/XML files (DOCTYPE book)
|
||||
@ENABLE_SPECS_TRUE@docbook = ice.xml
|
||||
|
||||
# The location where the DocBook/XML files and their generated formats are installed
|
||||
@ENABLE_SPECS_TRUE@shelfdir = $(docdir)
|
||||
|
||||
# DocBook/XML generated output formats to be installed
|
||||
@ENABLE_SPECS_TRUE@shelf_DATA = $(am__append_1) $(am__append_2) \
|
||||
@ENABLE_SPECS_TRUE@ $(am__append_3) $(am__append_4)
|
||||
|
||||
# DocBook/XML file with chapters, appendix and images it includes
|
||||
@ENABLE_SPECS_TRUE@dist_shelf_DATA = $(docbook) $(chapters)
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_SEARCHPATH_FLAGS = \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --searchpath "$(XORG_SGML_PATH)/X11" \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --searchpath "$(abs_top_builddir)"
|
||||
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_OLINK_FLAGS = \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --stringparam current.docid="$(<:.xml=)"
|
||||
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_HTML_FLAGS = \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_SEARCHPATH_FLAGS) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_HTML_STYLESHEET_FLAGS) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_HTML_OLINK_FLAGS)
|
||||
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_IMAGEPATH_FLAGS = --stringparam img.src.path=$(abs_builddir)/
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_PDF_OLINK_FLAGS = \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.pdf.xml \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ --stringparam current.docid="$(<:.xml=)"
|
||||
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-fo.xsl
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@XMLTO_FO_FLAGS = \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_SEARCHPATH_FLAGS) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_FO_STYLESHEET_FLAGS) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_FO_IMAGEPATH_FLAGS) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(XMLTO_PDF_OLINK_FLAGS)
|
||||
|
||||
|
||||
# Generate documents cross-reference target databases
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_SEARCHPATH_FLAGS = \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --path "$(XORG_SGML_PATH)/X11" \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --path "$(abs_top_builddir)"
|
||||
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_OLINK_FLAGS = \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --stringparam targets.filename "$@" \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --stringparam collect.xref.targets "only" \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --stringparam olink.base.uri "$(@:.db=)"
|
||||
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_HTML_FLAGS = \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(XSLT_SEARCHPATH_FLAGS) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(XSLT_OLINK_FLAGS) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --nonet --xinclude \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
|
||||
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@XSLT_PDF_FLAGS = \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(XSLT_SEARCHPATH_FLAGS) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(XSLT_OLINK_FLAGS) \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ --nonet --xinclude \
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(STYLESHEET_SRCDIR)/xorg-fo.xsl
|
||||
|
||||
@ENABLE_SPECS_TRUE@CLEANFILES = $(shelf_DATA)
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docbook.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign specs/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign specs/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
uninstall-info-am:
|
||||
install-dist_shelfDATA: $(dist_shelf_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(shelfdir)" || $(mkdir_p) "$(DESTDIR)$(shelfdir)"
|
||||
@list='$(dist_shelf_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(dist_shelfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(shelfdir)/$$f'"; \
|
||||
$(dist_shelfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(shelfdir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-dist_shelfDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(dist_shelf_DATA)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(shelfdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(shelfdir)/$$f"; \
|
||||
done
|
||||
install-shelfDATA: $(shelf_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(shelfdir)" || $(mkdir_p) "$(DESTDIR)$(shelfdir)"
|
||||
@list='$(shelf_DATA)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
echo " $(shelfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(shelfdir)/$$f'"; \
|
||||
$(shelfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(shelfdir)/$$f"; \
|
||||
done
|
||||
|
||||
uninstall-shelfDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(shelf_DATA)'; for p in $$list; do \
|
||||
f=$(am__strip_dir) \
|
||||
echo " rm -f '$(DESTDIR)$(shelfdir)/$$f'"; \
|
||||
rm -f "$(DESTDIR)$(shelfdir)/$$f"; \
|
||||
done
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(mkdir_p) $(distdir)/..
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkdir_p) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(DATA)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(shelfdir)" "$(DESTDIR)$(shelfdir)"; do \
|
||||
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-libtool
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-dist_shelfDATA install-shelfDATA
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-dist_shelfDATA uninstall-info-am \
|
||||
uninstall-shelfDATA
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
distclean distclean-generic distclean-libtool distdir dvi \
|
||||
dvi-am html html-am info info-am install install-am \
|
||||
install-data install-data-am install-dist_shelfDATA \
|
||||
install-exec install-exec-am install-info install-info-am \
|
||||
install-man install-shelfDATA install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
|
||||
uninstall-dist_shelfDATA uninstall-info-am uninstall-shelfDATA
|
||||
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.html: %.xml $(chapters)
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) xhtml-nochunks $<
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@%.txt: %.xml $(chapters)
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TEXT_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_HTML_FLAGS) txt $<
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.pdf: %.xml $(chapters)
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop pdf $<
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@%.ps: %.xml $(chapters)
|
||||
@ENABLE_SPECS_TRUE@@HAVE_FOP_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@ $(AM_V_GEN)$(XMLTO) $(XMLTO_FO_FLAGS) --with-fop ps $<
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.html.db: %.xml $(chapters)
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(AM_V_GEN)$(XSLTPROC) $(XSLT_HTML_FLAGS) $<
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@%.pdf.db: %.xml $(chapters)
|
||||
@ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(AM_V_GEN)$(XSLTPROC) $(XSLT_PDF_FLAGS) $<
|
||||
|
||||
# Generate DocBook/XML output formats with or without stylesheets
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
2601
lib/libICE/specs/ice.xml
Normal file
2601
lib/libICE/specs/ice.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,3 @@
|
||||
/* $Xorg: ICElibint.h,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/ICElibint.h,v 1.6 2001/12/14 19:53:35 dawes Exp $ */
|
||||
|
||||
#ifndef _ICELIBINT_H_
|
||||
#define _ICELIBINT_H_
|
||||
@ -291,7 +289,7 @@ typedef struct {
|
||||
if (_pBuf > _end) { \
|
||||
_bail; \
|
||||
} \
|
||||
}
|
||||
}
|
||||
|
||||
#define SKIP_LISTOF_STRING(_pBuf, _swap, _count, _end, _bail) \
|
||||
{ \
|
||||
@ -399,7 +397,7 @@ extern _IceProtocol _IceProtocols[];
|
||||
extern int _IceLastMajorOpcode;
|
||||
|
||||
extern int _IceAuthCount;
|
||||
extern char *_IceAuthNames[];
|
||||
extern const char *_IceAuthNames[];
|
||||
extern IcePoAuthProc _IcePoAuthProcs[];
|
||||
extern IcePaAuthProc _IcePaAuthProcs[];
|
||||
|
||||
@ -434,24 +432,24 @@ extern void _IceErrorNoVersion (
|
||||
extern void _IceErrorSetupFailed (
|
||||
IceConn /* iceConn */,
|
||||
int /* offendingMinor */,
|
||||
char * /* reason */
|
||||
const char * /* reason */
|
||||
);
|
||||
|
||||
extern void _IceErrorAuthenticationRejected (
|
||||
IceConn /* iceConn */,
|
||||
int /* offendingMinor */,
|
||||
char * /* reason */
|
||||
const char * /* reason */
|
||||
);
|
||||
|
||||
extern void _IceErrorAuthenticationFailed (
|
||||
IceConn /* iceConn */,
|
||||
int /* offendingMinor */,
|
||||
char * /* reason */
|
||||
const char * /* reason */
|
||||
);
|
||||
|
||||
extern void _IceErrorProtocolDuplicate (
|
||||
IceConn /* iceConn */,
|
||||
char * /* protocolName */
|
||||
const char * /* protocolName */
|
||||
);
|
||||
|
||||
extern void _IceErrorMajorOpcodeDuplicate (
|
||||
@ -461,7 +459,7 @@ extern void _IceErrorMajorOpcodeDuplicate (
|
||||
|
||||
extern void _IceErrorUnknownProtocol (
|
||||
IceConn /* iceConn */,
|
||||
char * /* protocolName */
|
||||
const char * /* protocolName */
|
||||
);
|
||||
|
||||
extern void _IceAddOpcodeMapping (
|
||||
@ -507,35 +505,35 @@ extern void _IceConnectionClosed (
|
||||
);
|
||||
|
||||
extern void _IceGetPoAuthData (
|
||||
char * /* protocol_name */,
|
||||
char * /* address */,
|
||||
char * /* auth_name */,
|
||||
const char * /* protocol_name */,
|
||||
const char * /* address */,
|
||||
const char * /* auth_name */,
|
||||
unsigned short * /* auth_data_length_ret */,
|
||||
char ** /* auth_data_ret */
|
||||
);
|
||||
|
||||
extern void _IceGetPaAuthData (
|
||||
char * /* protocol_name */,
|
||||
char * /* address */,
|
||||
char * /* auth_name */,
|
||||
const char * /* protocol_name */,
|
||||
const char * /* address */,
|
||||
const char * /* auth_name */,
|
||||
unsigned short * /* auth_data_length_ret */,
|
||||
char ** /* auth_data_ret */
|
||||
);
|
||||
|
||||
extern void _IceGetPoValidAuthIndices (
|
||||
char * /* protocol_name */,
|
||||
char * /* address */,
|
||||
const char * /* protocol_name */,
|
||||
const char * /* address */,
|
||||
int /* num_auth_names */,
|
||||
char ** /* auth_names */,
|
||||
const char ** /* auth_names */,
|
||||
int * /* num_indices_ret */,
|
||||
int * /* indices_ret */
|
||||
);
|
||||
|
||||
extern void _IceGetPaValidAuthIndices (
|
||||
char * /* protocol_name */,
|
||||
char * /* address */,
|
||||
const char * /* protocol_name */,
|
||||
const char * /* address */,
|
||||
int /* num_auth_names */,
|
||||
char ** /* auth_names */,
|
||||
const char ** /* auth_names */,
|
||||
int * /* num_indices_ret */,
|
||||
int * /* indices_ret */
|
||||
);
|
||||
|
@ -1,11 +1,15 @@
|
||||
lib_LTLIBRARIES=libICE.la
|
||||
|
||||
AM_CFLAGS= -I${top_srcdir}/include $(ICE_CFLAGS) $(XTRANS_CFLAGS) \
|
||||
AM_CPPFLAGS = -I${top_srcdir}/include
|
||||
|
||||
AM_CFLAGS = \
|
||||
$(ICE_CFLAGS) \
|
||||
$(CWARNFLAGS) \
|
||||
-DICE_t -DTRANS_CLIENT -DTRANS_SERVER
|
||||
|
||||
libICE_la_LDFLAGS = -version-number 6:3:0 -no-undefined
|
||||
|
||||
libICE_la_LIBADD = $(ICE_LIBS) $(XTRANS_LIBS)
|
||||
libICE_la_LIBADD = $(ICE_LIBS)
|
||||
|
||||
libICE_la_SOURCES = \
|
||||
ICElibint.h \
|
||||
|
@ -24,9 +24,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ..
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = ${SHELL} $(install_sh) -c
|
||||
install_sh_SCRIPT = ${SHELL} $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
@ -57,7 +57,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(iceincludedir)"
|
||||
libLTLIBRARIES_INSTALL = $(INSTALL)
|
||||
LTLIBRARIES = $(lib_LTLIBRARIES)
|
||||
am__DEPENDENCIES_1 =
|
||||
libICE_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
||||
libICE_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
|
||||
am_libICE_la_OBJECTS = accept.lo authutil.lo connect.lo error.lo \
|
||||
getauth.lo iceauth.lo icetrans.lo listen.lo listenwk.lo \
|
||||
locking.lo misc.lo ping.lo process.lo protosetup.lo \
|
||||
@ -82,14 +82,20 @@ ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
|
||||
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
APP_MAN_DIR = @APP_MAN_DIR@
|
||||
APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BASE_CFLAGS = @BASE_CFLAGS@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
@ -97,38 +103,58 @@ CHANGELOG_CMD = @CHANGELOG_CMD@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CWARNFLAGS = @CWARNFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
|
||||
DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
ECHO = @ECHO@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
ENABLE_DOCS_FALSE = @ENABLE_DOCS_FALSE@
|
||||
ENABLE_DOCS_TRUE = @ENABLE_DOCS_TRUE@
|
||||
ENABLE_SPECS_FALSE = @ENABLE_SPECS_FALSE@
|
||||
ENABLE_SPECS_TRUE = @ENABLE_SPECS_TRUE@
|
||||
EXEEXT = @EXEEXT@
|
||||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
FGREP = @FGREP@
|
||||
FILE_MAN_DIR = @FILE_MAN_DIR@
|
||||
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
|
||||
FOP = @FOP@
|
||||
GREP = @GREP@
|
||||
HAVE_FOP_FALSE = @HAVE_FOP_FALSE@
|
||||
HAVE_FOP_TRUE = @HAVE_FOP_TRUE@
|
||||
HAVE_STYLESHEETS_FALSE = @HAVE_STYLESHEETS_FALSE@
|
||||
HAVE_STYLESHEETS_TRUE = @HAVE_STYLESHEETS_TRUE@
|
||||
HAVE_XMLTO_FALSE = @HAVE_XMLTO_FALSE@
|
||||
HAVE_XMLTO_TEXT_FALSE = @HAVE_XMLTO_TEXT_FALSE@
|
||||
HAVE_XMLTO_TEXT_TRUE = @HAVE_XMLTO_TEXT_TRUE@
|
||||
HAVE_XMLTO_TRUE = @HAVE_XMLTO_TRUE@
|
||||
HAVE_XSLTPROC_FALSE = @HAVE_XSLTPROC_FALSE@
|
||||
HAVE_XSLTPROC_TRUE = @HAVE_XSLTPROC_TRUE@
|
||||
ICE_CFLAGS = @ICE_CFLAGS@
|
||||
ICE_LIBS = @ICE_LIBS@
|
||||
INSTALL_CMD = @INSTALL_CMD@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIB_MAN_DIR = @LIB_MAN_DIR@
|
||||
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
|
||||
LINT = @LINT@
|
||||
LINTLIB = @LINTLIB@
|
||||
LINT_FALSE = @LINT_FALSE@
|
||||
LINT_FLAGS = @LINT_FLAGS@
|
||||
LINT_TRUE = @LINT_TRUE@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
@ -137,8 +163,16 @@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MAKE_LINT_LIB_FALSE = @MAKE_LINT_LIB_FALSE@
|
||||
MAKE_LINT_LIB_TRUE = @MAKE_LINT_LIB_TRUE@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MAN_SUBSTS = @MAN_SUBSTS@
|
||||
MISC_MAN_DIR = @MISC_MAN_DIR@
|
||||
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
@ -151,17 +185,20 @@ RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRICT_CFLAGS = @STRICT_CFLAGS@
|
||||
STRIP = @STRIP@
|
||||
STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
|
||||
VERSION = @VERSION@
|
||||
XTRANS_CFLAGS = @XTRANS_CFLAGS@
|
||||
XTRANS_LIBS = @XTRANS_LIBS@
|
||||
XMLTO = @XMLTO@
|
||||
XORG_MAN_PAGE = @XORG_MAN_PAGE@
|
||||
XORG_SGML_PATH = @XORG_SGML_PATH@
|
||||
XSLTPROC = @XSLTPROC@
|
||||
XSL_STYLESHEET = @XSL_STYLESHEET@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
@ -175,7 +212,6 @@ build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
distcleancheck_listfiles = @distcleancheck_listfiles@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
@ -204,11 +240,14 @@ sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
lib_LTLIBRARIES = libICE.la
|
||||
AM_CFLAGS = -I${top_srcdir}/include $(ICE_CFLAGS) $(XTRANS_CFLAGS) \
|
||||
AM_CPPFLAGS = -I${top_srcdir}/include
|
||||
AM_CFLAGS = \
|
||||
$(ICE_CFLAGS) \
|
||||
$(CWARNFLAGS) \
|
||||
-DICE_t -DTRANS_CLIENT -DTRANS_SERVER
|
||||
|
||||
libICE_la_LDFLAGS = -version-number 6:3:0 -no-undefined
|
||||
libICE_la_LIBADD = $(ICE_LIBS) $(XTRANS_LIBS)
|
||||
libICE_la_LIBADD = $(ICE_LIBS)
|
||||
libICE_la_SOURCES = \
|
||||
ICElibint.h \
|
||||
accept.c \
|
||||
@ -257,9 +296,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu src/Makefile
|
||||
$(AUTOMAKE) --foreign src/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: accept.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
/* $Xorg: authutil.c,v 1.5 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/* $XdotOrg: xc/lib/ICE/authutil.c,v 1.3 2005/05/17 20:53:55 sandmann Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -27,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: authutil.c,v 3.9 2002/05/31 18:45:41 dawes Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
@ -174,7 +171,7 @@ IceLockAuthFile (
|
||||
unlink (link_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
while (retries > 0)
|
||||
{
|
||||
if (creat_fd == -1)
|
||||
@ -341,9 +338,9 @@ IceWriteAuthFileEntry (
|
||||
|
||||
IceAuthFileEntry *
|
||||
IceGetAuthFileEntry (
|
||||
char *protocol_name,
|
||||
char *network_id,
|
||||
char *auth_name
|
||||
const char *protocol_name,
|
||||
const char *network_id,
|
||||
const char *auth_name
|
||||
)
|
||||
{
|
||||
FILE *auth_file;
|
||||
@ -409,18 +406,18 @@ read_string (FILE *file, char **stringp)
|
||||
return (0);
|
||||
|
||||
data = malloc ((unsigned) len + 1);
|
||||
|
||||
|
||||
if (!data)
|
||||
return (0);
|
||||
|
||||
if (len != 0)
|
||||
|
||||
if (len != 0)
|
||||
{
|
||||
if (fread (data, (int) sizeof (char), (int) len, file) != len)
|
||||
{
|
||||
free (data);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
data[len] = '\0';
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: connect.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/connect.c,v 3.9 2001/12/14 19:53:35 dawes Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
@ -85,7 +83,7 @@ IceOpenConnection (
|
||||
* connection if the specified 'context' is equal to the context
|
||||
* associated with the ICE connection, or if the context associated
|
||||
* with the ICE connection is NULL.
|
||||
*
|
||||
*
|
||||
* If 'majorOpcodeCheck' is non-zero, it will contain a protocol major
|
||||
* opcode that we should make sure is not already active on the ICE
|
||||
* connection. Some clients will want two seperate connections for the
|
||||
@ -473,7 +471,7 @@ ConnectToPeer (char *networkIdsList, char **actualConnectionRet)
|
||||
{
|
||||
address = malloc (len + 1);
|
||||
address_size = len;
|
||||
}
|
||||
}
|
||||
|
||||
while (ptr < endptr && !madeConnection)
|
||||
{
|
||||
@ -515,18 +513,18 @@ ConnectToPeer (char *networkIdsList, char **actualConnectionRet)
|
||||
}
|
||||
}
|
||||
|
||||
if (madeConnection)
|
||||
if (madeConnection)
|
||||
{
|
||||
/*
|
||||
* We need to return the actual network connection string
|
||||
*/
|
||||
|
||||
*actualConnectionRet = strdup(address);
|
||||
|
||||
|
||||
/*
|
||||
* Return the file descriptor
|
||||
*/
|
||||
}
|
||||
}
|
||||
else trans_conn = NULL;
|
||||
|
||||
if (address != addrbuf) free (address);
|
||||
|
@ -1,5 +1,3 @@
|
||||
/* $XdotOrg: $ */
|
||||
/* $Xorg: error.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -27,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/error.c,v 1.5 2001/10/28 03:32:28 tsi Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
@ -119,7 +116,7 @@ _IceErrorBadValue (
|
||||
|
||||
if (PAD64 (length))
|
||||
IceWritePad (iceConn, PAD64 (length));
|
||||
|
||||
|
||||
IceFlush (iceConn);
|
||||
}
|
||||
|
||||
@ -168,7 +165,7 @@ void
|
||||
_IceErrorSetupFailed (
|
||||
IceConn iceConn,
|
||||
int offendingMinor,
|
||||
char *reason
|
||||
const char *reason
|
||||
)
|
||||
{
|
||||
char *pBuf, *pStart;
|
||||
@ -199,7 +196,7 @@ void
|
||||
_IceErrorAuthenticationRejected (
|
||||
IceConn iceConn,
|
||||
int offendingMinor,
|
||||
char *reason
|
||||
const char *reason
|
||||
)
|
||||
{
|
||||
char *pBuf, *pStart;
|
||||
@ -228,7 +225,7 @@ void
|
||||
_IceErrorAuthenticationFailed (
|
||||
IceConn iceConn,
|
||||
int offendingMinor,
|
||||
char *reason
|
||||
const char *reason
|
||||
)
|
||||
{
|
||||
char *pBuf, *pStart;
|
||||
@ -256,7 +253,7 @@ _IceErrorAuthenticationFailed (
|
||||
void
|
||||
_IceErrorProtocolDuplicate (
|
||||
IceConn iceConn,
|
||||
char *protocolName
|
||||
const char *protocolName
|
||||
)
|
||||
{
|
||||
char *pBuf, *pStart;
|
||||
@ -287,7 +284,7 @@ _IceErrorMajorOpcodeDuplicate (
|
||||
int majorOpcode
|
||||
)
|
||||
{
|
||||
char mOp = (char) majorOpcode;
|
||||
char mOp[8] = { (char) majorOpcode };
|
||||
|
||||
IceErrorHeader (iceConn,
|
||||
0, ICE_ProtocolSetup,
|
||||
@ -296,7 +293,7 @@ _IceErrorMajorOpcodeDuplicate (
|
||||
IceMajorOpcodeDuplicate,
|
||||
1 /* length */);
|
||||
|
||||
IceWriteData (iceConn, 8, &mOp);
|
||||
IceWriteData (iceConn, 8, mOp);
|
||||
IceFlush (iceConn);
|
||||
}
|
||||
|
||||
@ -304,7 +301,7 @@ _IceErrorMajorOpcodeDuplicate (
|
||||
void
|
||||
_IceErrorUnknownProtocol (
|
||||
IceConn iceConn,
|
||||
char *protocolName
|
||||
const char *protocolName
|
||||
)
|
||||
{
|
||||
char *pBuf, *pStart;
|
||||
@ -337,7 +334,7 @@ _IceErrorBadMajor (
|
||||
int severity
|
||||
)
|
||||
{
|
||||
char maj = (char) offendingMajor;
|
||||
char maj[8] = { (char) offendingMajor };
|
||||
|
||||
IceErrorHeader (iceConn,
|
||||
0, offendingMinor,
|
||||
@ -346,7 +343,7 @@ _IceErrorBadMajor (
|
||||
IceBadMajor,
|
||||
1 /* length */);
|
||||
|
||||
IceWriteData (iceConn, 8, &maj);
|
||||
IceWriteData (iceConn, 8, maj);
|
||||
IceFlush (iceConn);
|
||||
}
|
||||
|
||||
@ -367,7 +364,8 @@ _IceDefaultErrorHandler (
|
||||
IcePointer values
|
||||
)
|
||||
{
|
||||
char *str;
|
||||
const char *str;
|
||||
char *estr;
|
||||
char *pData = (char *) values;
|
||||
|
||||
switch (offendingMinorOpcode)
|
||||
@ -515,42 +513,42 @@ _IceDefaultErrorHandler (
|
||||
|
||||
case IceSetupFailed:
|
||||
|
||||
EXTRACT_STRING (pData, swap, str);
|
||||
fprintf (stderr, "Reason : %s\n", str);
|
||||
free(str);
|
||||
EXTRACT_STRING (pData, swap, estr);
|
||||
fprintf (stderr, "Reason : %s\n", estr);
|
||||
free(estr);
|
||||
break;
|
||||
|
||||
case IceAuthRejected:
|
||||
|
||||
EXTRACT_STRING (pData, swap, str);
|
||||
fprintf (stderr, "Reason : %s\n", str);
|
||||
free(str);
|
||||
EXTRACT_STRING (pData, swap, estr);
|
||||
fprintf (stderr, "Reason : %s\n", estr);
|
||||
free(estr);
|
||||
break;
|
||||
|
||||
case IceAuthFailed:
|
||||
|
||||
EXTRACT_STRING (pData, swap, str);
|
||||
fprintf (stderr, "Reason : %s\n", str);
|
||||
free(str);
|
||||
EXTRACT_STRING (pData, swap, estr);
|
||||
fprintf (stderr, "Reason : %s\n", estr);
|
||||
free(estr);
|
||||
break;
|
||||
|
||||
case IceProtocolDuplicate:
|
||||
|
||||
EXTRACT_STRING (pData, swap, str);
|
||||
fprintf (stderr, "Protocol name : %s\n", str);
|
||||
free(str);
|
||||
EXTRACT_STRING (pData, swap, estr);
|
||||
fprintf (stderr, "Protocol name : %s\n", estr);
|
||||
free(estr);
|
||||
break;
|
||||
|
||||
case IceMajorOpcodeDuplicate:
|
||||
|
||||
fprintf (stderr, "Major opcode : %d\n", (int) *pData);
|
||||
fprintf (stderr, "Major opcode : %d\n", (int) *pData);
|
||||
break;
|
||||
|
||||
case IceUnknownProtocol:
|
||||
|
||||
EXTRACT_STRING (pData, swap, str);
|
||||
fprintf (stderr, "Protocol name : %s\n", str);
|
||||
free(str);
|
||||
EXTRACT_STRING (pData, swap, estr);
|
||||
fprintf (stderr, "Protocol name : %s\n", estr);
|
||||
free(estr);
|
||||
break;
|
||||
|
||||
default:
|
||||
@ -566,12 +564,12 @@ _IceDefaultErrorHandler (
|
||||
IceErrorHandler _IceErrorHandler = _IceDefaultErrorHandler;
|
||||
|
||||
|
||||
/*
|
||||
/*
|
||||
* This procedure sets the ICE error handler to be the specified
|
||||
* routine. If NULL is passed in the default error handler is restored.
|
||||
* The function's return value is the previous error handler.
|
||||
*/
|
||||
|
||||
|
||||
IceErrorHandler
|
||||
IceSetErrorHandler (
|
||||
IceErrorHandler handler
|
||||
@ -608,13 +606,13 @@ _IceDefaultIOErrorHandler (
|
||||
IceIOErrorHandler _IceIOErrorHandler = _IceDefaultIOErrorHandler;
|
||||
|
||||
|
||||
/*
|
||||
/*
|
||||
* This procedure sets the ICE fatal I/O error handler to be the
|
||||
* specified routine. If NULL is passed in the default error
|
||||
* handler is restored. The function's return value is the
|
||||
* previous error handler.
|
||||
*/
|
||||
|
||||
|
||||
IceIOErrorHandler
|
||||
IceSetIOErrorHandler (
|
||||
IceIOErrorHandler handler
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: getauth.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/getauth.c,v 1.2 2001/10/28 03:32:28 tsi Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
@ -35,7 +33,7 @@ Author: Ralph Mor, X Consortium
|
||||
#include "ICElibint.h"
|
||||
|
||||
static Bool auth_valid (const char *auth_name, int num_auth_names,
|
||||
char **auth_names, int *index_ret);
|
||||
const char **auth_names, int *index_ret);
|
||||
|
||||
|
||||
/*
|
||||
@ -57,9 +55,9 @@ static Bool auth_valid (const char *auth_name, int num_auth_names,
|
||||
|
||||
void
|
||||
_IceGetPoAuthData (
|
||||
char *protocolName,
|
||||
char *networkId,
|
||||
char *authName,
|
||||
const char *protocolName,
|
||||
const char *networkId,
|
||||
const char *authName,
|
||||
unsigned short *authDataLenRet,
|
||||
char **authDataRet
|
||||
)
|
||||
@ -88,9 +86,9 @@ _IceGetPoAuthData (
|
||||
|
||||
void
|
||||
_IceGetPaAuthData (
|
||||
char *protocolName,
|
||||
char *networkId,
|
||||
char *authName,
|
||||
const char *protocolName,
|
||||
const char *networkId,
|
||||
const char *authName,
|
||||
unsigned short *authDataLenRet,
|
||||
char **authDataRet
|
||||
)
|
||||
@ -127,12 +125,12 @@ _IceGetPaAuthData (
|
||||
|
||||
void
|
||||
_IceGetPoValidAuthIndices (
|
||||
char *protocol_name,
|
||||
char *network_id,
|
||||
int num_auth_names,
|
||||
char **auth_names,
|
||||
int *num_indices_ret,
|
||||
int *indices_ret /* in/out arg */
|
||||
const char *protocol_name,
|
||||
const char *network_id,
|
||||
int num_auth_names,
|
||||
const char **auth_names,
|
||||
int *num_indices_ret,
|
||||
int *indices_ret /* in/out arg */
|
||||
)
|
||||
{
|
||||
FILE *auth_file;
|
||||
@ -186,12 +184,12 @@ _IceGetPoValidAuthIndices (
|
||||
|
||||
void
|
||||
_IceGetPaValidAuthIndices (
|
||||
char *protocol_name,
|
||||
char *network_id,
|
||||
int num_auth_names,
|
||||
char **auth_names,
|
||||
int *num_indices_ret,
|
||||
int *indices_ret /* in/out arg */
|
||||
const char *protocol_name,
|
||||
const char *network_id,
|
||||
int num_auth_names,
|
||||
const char **auth_names,
|
||||
int *num_indices_ret,
|
||||
int *indices_ret /* in/out arg */
|
||||
)
|
||||
{
|
||||
int index_ret;
|
||||
@ -234,7 +232,7 @@ _IceGetPaValidAuthIndices (
|
||||
|
||||
static Bool
|
||||
auth_valid (const char *auth_name, int num_auth_names,
|
||||
char **auth_names, int *index_ret)
|
||||
const char **auth_names, int *index_ret)
|
||||
|
||||
{
|
||||
/*
|
||||
@ -248,7 +246,7 @@ auth_valid (const char *auth_name, int num_auth_names,
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if (i < num_auth_names)
|
||||
{
|
||||
*index_ret = i;
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: globals.h,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/globals.h,v 1.4 2001/12/14 19:53:35 dawes Exp $ */
|
||||
|
||||
#ifndef __UNIXOS2__
|
||||
IceConn _IceConnectionObjs[256];
|
||||
@ -42,6 +40,6 @@ int _IceConnectionCount = 0;
|
||||
int _IceLastMajorOpcode = 0;
|
||||
|
||||
int _IceAuthCount = 1;
|
||||
char *_IceAuthNames[] = {"MIT-MAGIC-COOKIE-1"};
|
||||
const char *_IceAuthNames[] = {"MIT-MAGIC-COOKIE-1"};
|
||||
|
||||
_IceWatchProc *_IceWatchProcs = NULL;
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: iceauth.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/iceauth.c,v 3.5 2001/12/14 19:53:36 dawes Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
@ -56,7 +54,7 @@ IceGenerateMagicCookie (
|
||||
int seed;
|
||||
int value;
|
||||
int i;
|
||||
|
||||
|
||||
if ((auth = (char *) malloc (len + 1)) == NULL)
|
||||
return (NULL);
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: listen.c,v 1.5 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -76,13 +75,15 @@ IceListenForConnections (
|
||||
|
||||
for (i = 0; i < transCount; i++)
|
||||
{
|
||||
_IceTransSetOption(transConns[i], TRANS_CLOSEONEXEC, 1);
|
||||
|
||||
networkId = _IceTransGetMyNetworkId (transConns[i]);
|
||||
|
||||
if (networkId)
|
||||
{
|
||||
listenObjs[*countRet].trans_conn = transConns[i];
|
||||
listenObjs[*countRet].network_id = networkId;
|
||||
|
||||
|
||||
(*countRet)++;
|
||||
}
|
||||
}
|
||||
@ -139,7 +140,7 @@ IceListenForConnections (
|
||||
{
|
||||
if (errorStringRet && errorLength > 0)
|
||||
*errorStringRet = '\0';
|
||||
|
||||
|
||||
for (i = 0; i < *countRet; i++)
|
||||
{
|
||||
(*listenObjsRet)[i]->host_based_auth_proc = NULL;
|
||||
|
@ -1,5 +1,3 @@
|
||||
/* $Xorg: listenwk.c,v 1.5 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
|
||||
/*
|
||||
|
||||
Copyright 1996, 1998 The Open Group
|
||||
@ -25,7 +23,6 @@ used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from The Open Group.
|
||||
|
||||
*/
|
||||
/* $XFree86: xc/lib/ICE/listenwk.c,v 1.3 2001/01/17 19:41:29 dawes Exp $ */
|
||||
|
||||
|
||||
/* Author: Ralph Mor, X Consortium */
|
||||
@ -86,7 +83,7 @@ IceListenForWellKnownConnections (
|
||||
{
|
||||
listenObjs[*countRet].trans_conn = transConns[i];
|
||||
listenObjs[*countRet].network_id = networkId;
|
||||
|
||||
|
||||
(*countRet)++;
|
||||
}
|
||||
}
|
||||
@ -143,7 +140,7 @@ IceListenForWellKnownConnections (
|
||||
{
|
||||
if (errorStringRet && errorLength > 0)
|
||||
*errorStringRet = '\0';
|
||||
|
||||
|
||||
for (i = 0; i < *countRet; i++)
|
||||
{
|
||||
(*listenObjsRet)[i]->host_based_auth_proc = NULL;
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: locking.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: misc.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/misc.c,v 1.3 2001/01/17 19:41:29 dawes Exp $ */
|
||||
|
||||
#ifdef WIN32
|
||||
#define _WILLWINSOCK_
|
||||
@ -248,7 +246,7 @@ _IceRead (
|
||||
|
||||
return (0);
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
/*
|
||||
* Fatal IO error. First notify each protocol's IceIOErrorProc
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: ping.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: process.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/process.c,v 3.9tsi Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
@ -68,6 +66,51 @@ Author: Ralph Mor, X Consortium
|
||||
IceDisposeCompleteMessage (_iceConn, _pStart);\
|
||||
return (0);\
|
||||
}
|
||||
|
||||
#ifndef HAVE_ASPRINTF
|
||||
# include <stdarg.h>
|
||||
|
||||
/* sprintf variant found in newer libc's which allocates string to print to */
|
||||
static int _X_ATTRIBUTE_PRINTF(2,3)
|
||||
asprintf(char ** ret, const char *format, ...)
|
||||
{
|
||||
char buf[256];
|
||||
int len;
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, format);
|
||||
len = vsnprintf(buf, sizeof(buf), format, ap);
|
||||
va_end(ap);
|
||||
|
||||
if (len < 0)
|
||||
return -1;
|
||||
|
||||
if (len < sizeof(buf))
|
||||
{
|
||||
*ret = strdup(buf);
|
||||
}
|
||||
else
|
||||
{
|
||||
*ret = malloc(len + 1); /* snprintf doesn't count trailing '\0' */
|
||||
if (*ret != NULL)
|
||||
{
|
||||
va_start(ap, format);
|
||||
len = vsnprintf(*ret, len + 1, format, ap);
|
||||
va_end(ap);
|
||||
if (len < 0) {
|
||||
free(*ret);
|
||||
*ret = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (*ret == NULL)
|
||||
return -1;
|
||||
|
||||
return len;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* IceProcessMessages:
|
||||
@ -261,7 +304,7 @@ IceProcessMessages (
|
||||
* to use message replies unless we translate opcodes before
|
||||
* comparing them.
|
||||
*/
|
||||
|
||||
|
||||
{
|
||||
int op;
|
||||
|
||||
@ -607,8 +650,8 @@ ProcessError (
|
||||
_IceConnectionError *errorReply =
|
||||
&(((_IceReply *) (replyWait->reply))->connection_error);
|
||||
char *errorStr = NULL;
|
||||
const char *tempstr;
|
||||
char *prefix, *temp;
|
||||
const char *tempstr, *prefix;
|
||||
char *temp;
|
||||
|
||||
invokeHandler = 0;
|
||||
errorReturned = True;
|
||||
@ -634,9 +677,8 @@ ProcessError (
|
||||
prefix = "Connection Setup Failed, reason : ";
|
||||
|
||||
EXTRACT_STRING (pData, swap, temp);
|
||||
errorStr = (char *) malloc (
|
||||
strlen (prefix) + strlen (temp) + 1);
|
||||
sprintf (errorStr, "%s%s", prefix, temp);
|
||||
if (asprintf (&errorStr, "%s%s", prefix, temp) == -1)
|
||||
errorStr = NULL;
|
||||
free (temp);
|
||||
break;
|
||||
|
||||
@ -644,9 +686,8 @@ ProcessError (
|
||||
|
||||
prefix = "Authentication Rejected, reason : ";
|
||||
EXTRACT_STRING (pData, swap, temp);
|
||||
errorStr = (char *) malloc (
|
||||
strlen (prefix) + strlen (temp) + 1);
|
||||
sprintf (errorStr, "%s%s", prefix, temp);
|
||||
if (asprintf (&errorStr, "%s%s", prefix, temp) == -1)
|
||||
errorStr = NULL;
|
||||
free (temp);
|
||||
break;
|
||||
|
||||
@ -654,9 +695,8 @@ ProcessError (
|
||||
|
||||
prefix = "Authentication Failed, reason : ";
|
||||
EXTRACT_STRING (pData, swap, temp);
|
||||
errorStr = (char *) malloc (
|
||||
strlen (prefix) + strlen (temp) + 1);
|
||||
sprintf (errorStr, "%s%s", prefix, temp);
|
||||
if (asprintf (&errorStr, "%s%s", prefix, temp) == -1)
|
||||
errorStr = NULL;
|
||||
free (temp);
|
||||
break;
|
||||
|
||||
@ -676,7 +716,8 @@ ProcessError (
|
||||
_IceProtocolError *errorReply =
|
||||
&(((_IceReply *) (replyWait->reply))->protocol_error);
|
||||
char *errorStr = "";
|
||||
char *prefix, *temp;
|
||||
const char *prefix;
|
||||
char *temp;
|
||||
|
||||
invokeHandler = 0;
|
||||
errorReturned = True;
|
||||
@ -685,16 +726,15 @@ ProcessError (
|
||||
{
|
||||
case IceNoVersion:
|
||||
|
||||
temp =
|
||||
"None of the protocol versions specified are supported";
|
||||
errorStr = strdup(temp);
|
||||
errorStr = strdup(
|
||||
"None of the protocol versions specified are supported");
|
||||
break;
|
||||
|
||||
case IceNoAuth:
|
||||
|
||||
temp =
|
||||
"None of the authentication protocols specified are supported";
|
||||
errorStr = strdup(temp);
|
||||
errorStr = strdup(
|
||||
"None of the authentication protocols specified are supported");
|
||||
|
||||
break;
|
||||
|
||||
case IceSetupFailed:
|
||||
@ -702,9 +742,8 @@ ProcessError (
|
||||
prefix = "Protocol Setup Failed, reason : ";
|
||||
|
||||
EXTRACT_STRING (pData, swap, temp);
|
||||
errorStr = (char *) malloc (
|
||||
strlen (prefix) + strlen (temp) + 1);
|
||||
sprintf (errorStr, "%s%s", prefix, temp);
|
||||
if (asprintf (&errorStr, "%s%s", prefix, temp) == -1)
|
||||
errorStr = NULL;
|
||||
free (temp);
|
||||
break;
|
||||
|
||||
@ -712,9 +751,8 @@ ProcessError (
|
||||
|
||||
prefix = "Authentication Rejected, reason : ";
|
||||
EXTRACT_STRING (pData, swap, temp);
|
||||
errorStr = (char *) malloc (
|
||||
strlen (prefix) + strlen (temp) + 1);
|
||||
sprintf (errorStr, "%s%s", prefix, temp);
|
||||
if (asprintf (&errorStr, "%s%s", prefix, temp) == -1)
|
||||
errorStr = NULL;
|
||||
free (temp);
|
||||
break;
|
||||
|
||||
@ -722,9 +760,8 @@ ProcessError (
|
||||
|
||||
prefix = "Authentication Failed, reason : ";
|
||||
EXTRACT_STRING (pData, swap, temp);
|
||||
errorStr = (char *) malloc (
|
||||
strlen (prefix) + strlen (temp) + 1);
|
||||
sprintf (errorStr, "%s%s", prefix, temp);
|
||||
if (asprintf (&errorStr, "%s%s", prefix, temp) == -1)
|
||||
errorStr = NULL;
|
||||
free (temp);
|
||||
break;
|
||||
|
||||
@ -732,26 +769,24 @@ ProcessError (
|
||||
|
||||
prefix = "Protocol was already registered : ";
|
||||
EXTRACT_STRING (pData, swap, temp);
|
||||
errorStr = (char *) malloc (
|
||||
strlen (prefix) + strlen (temp) + 1);
|
||||
sprintf (errorStr, "%s%s", prefix, temp);
|
||||
if (asprintf (&errorStr, "%s%s", prefix, temp) == -1)
|
||||
errorStr = NULL;
|
||||
free (temp);
|
||||
break;
|
||||
|
||||
case IceMajorOpcodeDuplicate:
|
||||
|
||||
prefix = "The major opcode was already used : ";
|
||||
errorStr = (char *) malloc (strlen (prefix) + 2);
|
||||
sprintf (errorStr, "%s%d", prefix, (int) *pData);
|
||||
if (asprintf (&errorStr, "%s%d", prefix, (int) *pData) == -1)
|
||||
errorStr = NULL;
|
||||
break;
|
||||
|
||||
case IceUnknownProtocol:
|
||||
|
||||
prefix = "Unknown Protocol : ";
|
||||
EXTRACT_STRING (pData, swap, temp);
|
||||
errorStr = (char *) malloc (
|
||||
strlen (prefix) + strlen (temp) + 1);
|
||||
sprintf (errorStr, "%s%s", prefix, temp);
|
||||
if (asprintf (&errorStr, "%s%s", prefix, temp) == -1)
|
||||
errorStr = NULL;
|
||||
free (temp);
|
||||
break;
|
||||
|
||||
@ -826,7 +861,7 @@ ProcessConnectionSetup (
|
||||
int hisMajorVersion, hisMinorVersion;
|
||||
int myAuthCount, hisAuthCount;
|
||||
int found, i, j;
|
||||
char *myAuthName, **hisAuthNames = NULL;
|
||||
char **hisAuthNames = NULL;
|
||||
char *pData, *pStart, *pEnd;
|
||||
char *vendor = NULL;
|
||||
char *release = NULL;
|
||||
@ -852,17 +887,17 @@ ProcessConnectionSetup (
|
||||
|
||||
pData = pStart;
|
||||
pEnd = pStart + (length << 3);
|
||||
|
||||
SKIP_STRING (pData, swap, pEnd,
|
||||
|
||||
SKIP_STRING (pData, swap, pEnd,
|
||||
BAIL_STRING(iceConn, ICE_ConnectionSetup,
|
||||
pStart)); /* vendor */
|
||||
SKIP_STRING (pData, swap, pEnd,
|
||||
SKIP_STRING (pData, swap, pEnd,
|
||||
BAIL_STRING(iceConn, ICE_ConnectionSetup,
|
||||
pStart)); /* release */
|
||||
SKIP_LISTOF_STRING (pData, swap, (int) message->authCount, pEnd,
|
||||
SKIP_LISTOF_STRING (pData, swap, (int) message->authCount, pEnd,
|
||||
BAIL_STRING(iceConn, ICE_ConnectionSetup,
|
||||
pStart)); /* auth names */
|
||||
|
||||
|
||||
pData += (message->versionCount * 4); /* versions */
|
||||
|
||||
CHECK_COMPLETE_SIZE (iceConn, ICE_ConnectionSetup,
|
||||
@ -924,7 +959,7 @@ ProcessConnectionSetup (
|
||||
{
|
||||
for (i = 0; i < hisAuthCount; i++)
|
||||
free (hisAuthNames[i]);
|
||||
|
||||
|
||||
free ((char *) hisAuthNames);
|
||||
}
|
||||
|
||||
@ -948,7 +983,7 @@ ProcessConnectionSetup (
|
||||
{
|
||||
if (authUsableFlags[i])
|
||||
{
|
||||
myAuthName = _IceAuthNames[i];
|
||||
const char *myAuthName = _IceAuthNames[i];
|
||||
|
||||
for (j = 0; j < hisAuthCount && !found; j++)
|
||||
if (strcmp (myAuthName, hisAuthNames[j]) == 0)
|
||||
@ -983,7 +1018,7 @@ ProcessConnectionSetup (
|
||||
{
|
||||
accept_setup_now = 1;
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
_IceErrorAuthenticationRejected (iceConn,
|
||||
ICE_ConnectionSetup, "None of the authentication protocols specified are supported and host-based authentication failed");
|
||||
@ -1036,6 +1071,11 @@ ProcessConnectionSetup (
|
||||
{
|
||||
accept_setup_now = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
free (vendor);
|
||||
free (release);
|
||||
}
|
||||
|
||||
if (authData && authDataLen > 0)
|
||||
free ((char *) authData);
|
||||
@ -1043,7 +1083,7 @@ ProcessConnectionSetup (
|
||||
if (errorString)
|
||||
free (errorString);
|
||||
}
|
||||
|
||||
|
||||
if (accept_setup_now)
|
||||
{
|
||||
AcceptConnection (iceConn, hisVersionIndex);
|
||||
@ -1057,7 +1097,7 @@ ProcessConnectionSetup (
|
||||
{
|
||||
for (i = 0; i < hisAuthCount; i++)
|
||||
free (hisAuthNames[i]);
|
||||
|
||||
|
||||
free ((char *) hisAuthNames);
|
||||
}
|
||||
|
||||
@ -1211,7 +1251,8 @@ ProcessAuthRequired (
|
||||
}
|
||||
else if (status == IcePoAuthRejected || status == IcePoAuthFailed)
|
||||
{
|
||||
char *prefix, *returnErrorString;
|
||||
const char *prefix;
|
||||
char *returnErrorString;
|
||||
|
||||
if (status == IcePoAuthRejected)
|
||||
{
|
||||
@ -1228,11 +1269,10 @@ ProcessAuthRequired (
|
||||
prefix = "Authentication Failed, reason : ";
|
||||
}
|
||||
|
||||
returnErrorString = (char *) malloc (strlen (prefix) +
|
||||
strlen (errorString) + 1);
|
||||
sprintf (returnErrorString, "%s%s", prefix, errorString);
|
||||
if (asprintf (&returnErrorString, "%s%s", prefix, errorString) == -1)
|
||||
returnErrorString = NULL;
|
||||
free (errorString);
|
||||
|
||||
|
||||
if (iceConn->connect_to_you)
|
||||
{
|
||||
_IceConnectionError *errorReply =
|
||||
@ -1638,7 +1678,8 @@ ProcessAuthNextPhase (
|
||||
}
|
||||
else if (status == IcePoAuthRejected || status == IcePoAuthFailed)
|
||||
{
|
||||
char *prefix = NULL, *returnErrorString;
|
||||
const char *prefix = NULL;
|
||||
char *returnErrorString;
|
||||
|
||||
if (status == IcePoAuthRejected)
|
||||
{
|
||||
@ -1655,9 +1696,8 @@ ProcessAuthNextPhase (
|
||||
prefix = "Authentication Failed, reason : ";
|
||||
}
|
||||
|
||||
returnErrorString = (char *) malloc (strlen (prefix) +
|
||||
strlen (errorString) + 1);
|
||||
sprintf (returnErrorString, "%s%s", prefix, errorString);
|
||||
if (asprintf (&returnErrorString, "%s%s", prefix, errorString) == -1)
|
||||
returnErrorString = NULL;
|
||||
free (errorString);
|
||||
|
||||
if (iceConn->connect_to_you)
|
||||
@ -1754,7 +1794,7 @@ ProcessConnectionReply (
|
||||
|
||||
_IceErrorBadValue (iceConn, 0,
|
||||
ICE_ConnectionReply, 2, 1, &errIndex);
|
||||
|
||||
|
||||
errorReply->type = ICE_CONNECTION_ERROR;
|
||||
errorReply->error_message =
|
||||
"Received bad version index in Connection Reply";
|
||||
@ -1805,7 +1845,7 @@ ProcessProtocolSetup (
|
||||
int myAuthCount, hisAuthCount;
|
||||
int myOpcode, hisOpcode;
|
||||
int found, i, j;
|
||||
char *myAuthName, **hisAuthNames = NULL;
|
||||
char **hisAuthNames = NULL;
|
||||
char *protocolName;
|
||||
char *pData, *pStart, *pEnd;
|
||||
char *vendor = NULL;
|
||||
@ -1845,16 +1885,16 @@ ProcessProtocolSetup (
|
||||
pEnd = pStart + (length << 3);
|
||||
|
||||
SKIP_STRING (pData, swap, pEnd,
|
||||
BAIL_STRING(iceConn, ICE_ProtocolSetup,
|
||||
BAIL_STRING(iceConn, ICE_ProtocolSetup,
|
||||
pStart)); /* proto name */
|
||||
SKIP_STRING (pData, swap, pEnd,
|
||||
BAIL_STRING(iceConn, ICE_ProtocolSetup,
|
||||
BAIL_STRING(iceConn, ICE_ProtocolSetup,
|
||||
pStart)); /* vendor */
|
||||
SKIP_STRING (pData, swap, pEnd,
|
||||
BAIL_STRING(iceConn, ICE_ProtocolSetup,
|
||||
BAIL_STRING(iceConn, ICE_ProtocolSetup,
|
||||
pStart)); /* release */
|
||||
SKIP_LISTOF_STRING (pData, swap, (int) message->authCount, pEnd,
|
||||
BAIL_STRING(iceConn, ICE_ProtocolSetup,
|
||||
BAIL_STRING(iceConn, ICE_ProtocolSetup,
|
||||
pStart)); /* auth names */
|
||||
pData += (message->versionCount * 4); /* versions */
|
||||
|
||||
@ -1964,7 +2004,7 @@ ProcessProtocolSetup (
|
||||
{
|
||||
for (i = 0; i < hisAuthCount; i++)
|
||||
free (hisAuthNames[i]);
|
||||
|
||||
|
||||
free ((char *) hisAuthNames);
|
||||
}
|
||||
|
||||
@ -1976,7 +2016,8 @@ ProcessProtocolSetup (
|
||||
|
||||
_IceGetPaValidAuthIndices (
|
||||
_IceProtocols[myOpcode - 1].protocol_name,
|
||||
iceConn->connection_string, myAuthCount, myProtocol->auth_names,
|
||||
iceConn->connection_string, myAuthCount,
|
||||
(const char **) myProtocol->auth_names,
|
||||
&authUsableCount, authIndices);
|
||||
|
||||
for (i = 0; i < myAuthCount; i++)
|
||||
@ -1990,7 +2031,7 @@ ProcessProtocolSetup (
|
||||
{
|
||||
if (authUsableFlags[i])
|
||||
{
|
||||
myAuthName = myProtocol->auth_names[i];
|
||||
const char *myAuthName = myProtocol->auth_names[i];
|
||||
|
||||
for (j = 0; j < hisAuthCount && !found; j++)
|
||||
if (strcmp (myAuthName, hisAuthNames[j]) == 0)
|
||||
@ -2024,7 +2065,7 @@ ProcessProtocolSetup (
|
||||
{
|
||||
accept_setup_now = 1;
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
_IceErrorAuthenticationRejected (iceConn,
|
||||
ICE_ProtocolSetup, "None of the authentication protocols specified are supported and host-based authentication failed");
|
||||
@ -2054,7 +2095,7 @@ ProcessProtocolSetup (
|
||||
_IceProtoSetupToMeInfo *setupInfo;
|
||||
|
||||
AuthRequired (iceConn, hisAuthIndex, authDataLen, authData);
|
||||
|
||||
|
||||
iceConn->protosetup_to_me = setupInfo =
|
||||
(_IceProtoSetupToMeInfo *) malloc (
|
||||
sizeof (_IceProtoSetupToMeInfo));
|
||||
@ -2243,17 +2284,7 @@ ProcessProtocolReply (
|
||||
IcePoAuthProc authProc = myProtocol->auth_procs[(int)
|
||||
(iceConn->protosetup_to_you->my_auth_index)];
|
||||
|
||||
#ifdef SVR4
|
||||
|
||||
/*
|
||||
* authProc is never NULL, but the cc compiler on UNIX System V/386
|
||||
* Release 4.2 Version 1 screws up an optimization. Unless there is
|
||||
* some sort of reference to authProc before the function call, the
|
||||
* function call will seg fault.
|
||||
*/
|
||||
if (authProc)
|
||||
#endif
|
||||
(*authProc) (iceConn,
|
||||
(*authProc) (iceConn,
|
||||
&iceConn->protosetup_to_you->my_auth_state,
|
||||
True /* clean up */, False /* swap */,
|
||||
0, NULL, NULL, NULL, NULL);
|
||||
@ -2267,14 +2298,14 @@ ProcessProtocolReply (
|
||||
|
||||
_IceErrorBadValue (iceConn, 0,
|
||||
ICE_ProtocolReply, 2, 1, &errIndex);
|
||||
|
||||
|
||||
errorReply->type = ICE_PROTOCOL_ERROR;
|
||||
errorReply->error_message =
|
||||
"Received bad version index in Protocol Reply";
|
||||
}
|
||||
else
|
||||
{
|
||||
_IceProtocolReply *reply =
|
||||
_IceProtocolReply *reply =
|
||||
&(((_IceReply *) (replyWait->reply))->protocol_reply);
|
||||
|
||||
reply->type = ICE_PROTOCOL_REPLY;
|
||||
@ -2329,7 +2360,7 @@ ProcessPingReply (
|
||||
if (iceConn->ping_waits)
|
||||
{
|
||||
_IcePingWait *next = iceConn->ping_waits->next;
|
||||
|
||||
|
||||
(*iceConn->ping_waits->ping_reply_proc) (iceConn,
|
||||
iceConn->ping_waits->client_data);
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: protosetup.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/protosetup.c,v 1.2 2001/10/28 03:32:28 tsi Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
@ -120,7 +118,7 @@ IceProtocolSetup (
|
||||
_IceGetPoValidAuthIndices (myProtocol->protocol_name,
|
||||
iceConn->connection_string,
|
||||
myProtocol->orig_client->auth_count,
|
||||
myProtocol->orig_client->auth_names,
|
||||
(const char **) myProtocol->orig_client->auth_names,
|
||||
&authCount, authIndices);
|
||||
|
||||
}
|
||||
@ -231,7 +229,7 @@ IceProtocolSetup (
|
||||
else /* reply.type == ICE_PROTOCOL_ERROR */
|
||||
{
|
||||
/* Protocol Setup failed */
|
||||
|
||||
|
||||
strncpy (errorStringRet, reply.protocol_error.error_message,
|
||||
errorLength);
|
||||
|
||||
@ -253,7 +251,7 @@ IceProtocolSetup (
|
||||
*minorVersionRet = versionRec->minor_version;
|
||||
*vendorRet = reply.protocol_reply.vendor;
|
||||
*releaseRet = reply.protocol_reply.release;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Increase the reference count for the number of active protocols.
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: register.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -35,9 +34,9 @@ Author: Ralph Mor, X Consortium
|
||||
|
||||
int
|
||||
IceRegisterForProtocolSetup (
|
||||
char *protocolName,
|
||||
char *vendor,
|
||||
char *release,
|
||||
const char *protocolName,
|
||||
const char *vendor,
|
||||
const char *release,
|
||||
int versionCount,
|
||||
IcePoVersionRec *versionRecs,
|
||||
int authCount,
|
||||
@ -57,7 +56,7 @@ IceRegisterForProtocolSetup (
|
||||
/*
|
||||
* We've already registered this protocol.
|
||||
*/
|
||||
|
||||
|
||||
return (i);
|
||||
}
|
||||
else
|
||||
@ -65,7 +64,7 @@ IceRegisterForProtocolSetup (
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (i <= _IceLastMajorOpcode)
|
||||
{
|
||||
p = _IceProtocols[i - 1].orig_client =
|
||||
@ -132,9 +131,9 @@ IceRegisterForProtocolSetup (
|
||||
|
||||
int
|
||||
IceRegisterForProtocolReply (
|
||||
char *protocolName,
|
||||
char *vendor,
|
||||
char *release,
|
||||
const char *protocolName,
|
||||
const char *vendor,
|
||||
const char *release,
|
||||
int versionCount,
|
||||
IcePaVersionRec *versionRecs,
|
||||
int authCount,
|
||||
@ -157,7 +156,7 @@ IceRegisterForProtocolReply (
|
||||
/*
|
||||
* We've already registered this protocol.
|
||||
*/
|
||||
|
||||
|
||||
return (i);
|
||||
}
|
||||
else
|
||||
@ -165,7 +164,7 @@ IceRegisterForProtocolReply (
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (i <= _IceLastMajorOpcode)
|
||||
{
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: replywait.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -59,7 +58,7 @@ _IceAddReplyWait (
|
||||
prev = last;
|
||||
last = last->next;
|
||||
}
|
||||
|
||||
|
||||
savedReplyWait = (_IceSavedReplyWait *) malloc (
|
||||
sizeof (_IceSavedReplyWait));
|
||||
|
||||
@ -149,7 +148,7 @@ _IceCheckReplyReady (
|
||||
iceConn->saved_reply_waits = savedReplyWait->next;
|
||||
else
|
||||
prev->next = savedReplyWait->next;
|
||||
|
||||
|
||||
free ((char *) savedReplyWait);
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: setauth.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/setauth.c,v 1.4 2001/12/14 19:53:36 dawes Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: shutdown.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -26,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Author: Ralph Mor, X Consortium
|
||||
******************************************************************************/
|
||||
/* $XFree86: xc/lib/ICE/shutdown.c,v 3.3 2001/08/01 00:44:37 tsi Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
@ -147,7 +145,7 @@ IceCloseConnection (
|
||||
IO free- dispatch protocol shutdown
|
||||
error asap bit level refcount negotiation ACTION
|
||||
occured set reached 0 reached 0
|
||||
|
||||
|
||||
0 0 0 0 0 N
|
||||
0 0 0 0 1 N
|
||||
0 0 0 1 0 AB
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* $Xorg: watch.c,v 1.4 2001/02/09 02:03:26 xorgcvs Exp $ */
|
||||
/******************************************************************************
|
||||
|
||||
|
||||
@ -72,7 +71,7 @@ IceAddConnectionWatch (
|
||||
/*
|
||||
* Invoke the watch proc with any previously opened ICE connections.
|
||||
*/
|
||||
|
||||
|
||||
for (i = 0; i < _IceConnectionCount; i++)
|
||||
{
|
||||
_IceWatchedConnection *newWatchedConn = (_IceWatchedConnection *)
|
||||
|
Loading…
Reference in New Issue
Block a user