Update to xfwp 1.0.2

This commit is contained in:
matthieu 2011-01-22 14:30:50 +00:00
parent 191e43de2c
commit def1874858
14 changed files with 6006 additions and 3445 deletions

View File

@ -1,12 +1,27 @@
This is a stub file. This package has not yet had its complete licensing
information compiled. Please see the individual source files for details on
your rights to use and modify this software.
Please submit updated COPYING files to the Xorg bugzilla:
Copyright 1986-1997, 1998 The Open Group
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
All licensing questions regarding this software should be directed at the
Xorg mailing list:
The above copyright notice and the following permission notice
shall be included in all copies of the Software:
http://lists.freedesktop.org/mailman/listinfo/xorg
THE SOFTWARE IS PROVIDED "AS IS ", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
AND NON-INFRINGEMENT. IN NO EVENT SHALL THE OPEN GROUP BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER SIABILITIY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF, OR IN
CONNNECTION WITH THE SOFTWARE OR THE USE OF OTHER DEALINGS IN
THE SOFTWARE.
Except as contained in this notice, the name of The Open Group
shall not be used in advertising or otherwise to promote the use
or other dealings in this Software without prior written
authorization from The Open Group.
X Window System is a trademark of The Open Group.

View File

@ -1,31 +1,294 @@
2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
commit e266d1015912d5e9458351e6deed548d2755eedb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Jan 7 18:52:54 2011 -0800
* configure.ac:
Update package version for X11R7 release.
xfwp 1.0.2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
commit bbba4170faa039fc038f286f1e3fef73c9d13c9f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Jan 7 18:41:30 2011 -0800
* configure.ac:
Update package version number for final X11R7 release candidate.
config: Replace obsolete usage of AC_OUTPUT with AC_CONFIG_FILES
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org>
commit 8335a168a6debd4dc6349ce6458bd66fad0938bb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Jan 7 18:40:17 2011 -0800
* Makefile.am:
Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
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.
Add missing AC_CONFIG_SRCDIR
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
commit 73b928101d9df01f03360192c8670f744dc2c1d6
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Jan 7 18:37:01 2011 -0800
* configure.ac:
Update package version number for X11R7 RC3 release.
config: Remove unnecessary calls from configure.ac
AC_PROG_CC & AC_PROG_INSTALL are 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>
2005-11-19 Alan Coopersmith <alan.coopersmith@sun.com>
commit 2fb2eaab97901041d56f4d6f722da351fdc7604b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Jan 7 18:36:06 2011 -0800
* configure.ac:
Add XTRANS_TCP_FLAGS macro to get needed #defines and
libraries for TCP code on various platforms.
config: upgrade to util-macros 1.8 for additional man page support
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.
Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
Enables use of platform appropriate version of sed.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2005-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
commit 439d48f201eed2371cb537fd8943e3b65f88d7be
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri Jan 7 18:34:17 2011 -0800
* configure.ac:
Update package version number for RC1 release.
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>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 405121106b57da5afdbfb6c3ddcdd66324839080
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Aug 6 09:11:34 2010 -0700
Fill in COPYING file with copyright notices from source code
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 8a7c001b9ca5325e1a566e9af86614753e692fea
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Jul 9 22:01:17 2010 -0700
Change PKG_CHECK_MODULES to only use xproto not x11
Doesn't call any libX11 functions, so don't need to link against it.
Just #include's several headers from xproto (X.h, Xos.h, Xproto.h, etc.)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 8b964692255243aee0fd4c9d69ac479e0e49c842
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Fri Nov 13 17:12:28 2009 -0800
Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
commit 8d9ff581207978b43c3b58c309408514bd4c4aa6
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Thu Oct 1 14:54:24 2009 -0700
Add README with pointers to mailing lists, bugzilla, & git
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
commit dba2f250a9d1e85a9ec2b6c8dd50a717889dc27f
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date: Wed Jan 21 18:48:33 2009 -0200
Correct make distchek and sparse warnings.
commit f3e76cc13f4a3947b760decd424b58ffe4c2b834
Author: James Cloos <cloos@jhcloos.com>
Date: Thu Dec 6 16:37:16 2007 -0500
Replace static ChangeLog with dist-hook to generate from git log
commit a291495023de093e07a633adf7d2fc5474d2be8e
Author: James Cloos <cloos@jhcloos.com>
Date: Mon Sep 3 05:51:24 2007 -0400
Add *~ to .gitignore to skip patch/emacs droppings
commit a5b8ffc4327dfc5c5f102f289008a0be48d71899
Author: James Cloos <cloos@jhcloos.com>
Date: Thu Aug 23 19:24:50 2007 -0400
Rename .cvsignore to .gitignore
commit 5856c4cca841681d0204dceb7429a67025240b75
Author: Kevin E Martin <kem@kem.org>
Date: Wed Dec 21 02:29:50 2005 +0000
Update package version for X11R7 release.
commit 8211ac2c52c3b798178143f448f7eb378cd90a50
Author: Adam Jackson <ajax@nwnk.net>
Date: Mon Dec 19 16:22:44 2005 +0000
Stub COPYING files
commit 1e303c714543af4a10de8b3a95246cc4c7a4143d
Author: Kevin E Martin <kem@kem.org>
Date: Thu Dec 15 00:24:07 2005 +0000
Update package version number for final X11R7 release candidate.
commit 53204656bce3a5c374a7a1fc327f271e73f3ba68
Author: Kevin E Martin <kem@kem.org>
Date: Tue Dec 6 22:48:22 2005 +0000
Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
commit 80e55ede536af38a767eed13a2f53701f1b7cf33
Author: Kevin E Martin <kem@kem.org>
Date: Sat Dec 3 05:49:23 2005 +0000
Update package version number for X11R7 RC3 release.
commit 5d7159265142fa7d82f410870b49cadec28683ca
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Mon Nov 28 22:01:42 2005 +0000
Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
commit 53d4e673f74a1aba8c3591d2a645d7de45d0cc82
Author: Eric Anholt <anholt@freebsd.org>
Date: Mon Nov 21 10:35:01 2005 +0000
Another pass at .cvsignores for apps.
commit 4703db67294fe5d1dd77c25da6a3078a1db945f7
Author: Eric Anholt <anholt@freebsd.org>
Date: Sun Nov 20 22:08:52 2005 +0000
Add/improve .cvsignore files for apps.
commit 610173d61dd49cba2e569c7bf937ad3b9612ad1d
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Sun Nov 20 04:03:47 2005 +0000
Add XTRANS_TCP_FLAGS macro to get needed #defines and libraries for TCP
code on various platforms.
commit 48ffbac2252227dad30b042f01944828eb9373e4
Author: Kevin E Martin <kem@kem.org>
Date: Wed Oct 19 02:47:54 2005 +0000
Update package version number for RC1 release.
commit ce9237eb0fa53094b550ab7b5a24ffb54addab3c
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Mon Oct 17 23:56:22 2005 +0000
Use @APP_MAN_SUFFIX@ instead of $(APP_MAN_SUFFIX) in macro substitutions to
work better with BSD make
commit c9b475d12a8500743cc57a5053593fece582b7a2
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Fri Oct 14 00:25:45 2005 +0000
Use sed to fill in variables in man page
commit c9405b52fb77a7f716fb6520564ca00fd16e5794
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Mon Aug 1 20:25:30 2005 +0000
Install man pages to section 1 instead of section m (Patch from Donnie
Berkholz)
commit ffae41745ace338a310267027e87fdc81b3ff4e6
Author: Kevin E Martin <kem@kem.org>
Date: Fri Jul 29 21:22:34 2005 +0000
Various changes preparing packages for RC0:
- Verify and update package version numbers as needed
- Implement versioning scheme
- Change bug address to point to bugzilla bug entry form
- Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
reenable it)
- Fix makedepend to use pkgconfig and pass distcheck
- Update build script to build macros first
- Update modular Xorg version
commit 762e676f39b96ba3eb80c33bb1def9d49c467e25
Author: Adam Jackson <ajax@nwnk.net>
Date: Wed Jul 20 19:31:56 2005 +0000
Use a unique token for PKG_CHECK_MODULES. Otherwise, if you use a global
configure cache, you cache it, and the cached value is probably wrong.
commit d8a8e23f12ef65115d76fc60ba6b7db77f45be47
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Sat Jul 16 17:50:50 2005 +0000
- lbxproxy/configure.ac: Add XTRANS_CONNECTION_FLAGS so lbxtransport.c
builds
- proxymngr/Makefile.am: Replace $< with portable construct
- lbxproxy/configure.ac:
- proxymngr/configure.ac:
- xfwp/configure.ac: Add xproxymngproto to PKG_CHECK_MODULES
commit c878c921ae8de0fbbc415296deda3b6a894ce5a1
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date: Wed Jul 6 14:57:26 2005 +0000
Build system for xfwp
commit 3c0cea6fd0bb92a6bb6bf33601503807b00ca9b2
Author: Egbert Eich <eich@suse.de>
Date: Fri Apr 23 19:54:48 2004 +0000
Merging XORG-CURRENT into trunk
commit 610ce48dafa9894ec10c768b077350ab7a7b3334
Author: Egbert Eich <eich@suse.de>
Date: Sun Mar 14 08:35:23 2004 +0000
Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
commit 94330b10141d1efdc3020bf5e6269f78b513e7ad
Author: Egbert Eich <eich@suse.de>
Date: Wed Mar 3 12:13:08 2004 +0000
Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
commit 869c3e13a4fb62127355075c90f50c3c50912a1e
Author: Egbert Eich <eich@suse.de>
Date: Thu Feb 26 13:36:24 2004 +0000
readding XFree86's cvs IDs
commit f30ecc27ecc583991157f04906f61ba774d14567
Author: Egbert Eich <eich@suse.de>
Date: Thu Feb 26 09:24:07 2004 +0000
Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
commit 291eeb2551238db113a7b97b3ac2f54aca0f804c
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date: Tue Nov 25 19:29:13 2003 +0000
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
commit f29890c259861c45cfae71547d2683a198313836
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date: Fri Nov 14 16:49:22 2003 +0000
XFree86 4.3.0.1
commit 1dea1475a4beb620f350eda4ff0f902c9ec274a9
Author: Kaleb Keithley <kaleb@freedesktop.org>
Date: Fri Nov 14 15:54:53 2003 +0000
R6.6 is the Xorg base-line

View File

@ -21,7 +21,7 @@
bin_PROGRAMS = xfwp
xfwp_CFLAGS = $(XFWP_CFLAGS)
AM_CFLAGS = $(CWARNFLAGS) $(XFWP_CFLAGS) $(OS_CFLAGS)
xfwp_LDADD = $(XFWP_LIBS)
xfwp_SOURCES = \
@ -47,26 +47,18 @@ appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
EXTRA_DIST = $(appman_PRE)
CLEANFILES = $(appman_DATA)
SED = sed
# Strings to replace in man pages
XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11
MAN_SUBSTS = \
-e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-e 's|__xservername__|Xorg|g' \
-e 's|__xconfigfile__|xorg.conf|g' \
-e 's|__projectroot__|$(prefix)|g' \
-e 's|__apploaddir__|$(appdefaultdir)|' \
-e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
-e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \
-e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \
-e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
-e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
SUFFIXES = .$(APP_MAN_SUFFIX) .man
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
.man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
EXTRA_DIST += ChangeLog
MAINTAINERCLEANFILES = ChangeLog
.PHONY: ChangeLog
ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog

View File

@ -62,8 +62,7 @@ bin_PROGRAMS = xfwp$(EXEEXT)
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
compile config.guess config.sub depcomp install-sh missing \
mkinstalldirs
config.guess config.sub depcomp install-sh missing
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
@ -71,14 +70,14 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno configure.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
mkinstalldirs = $(SHELL) $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmandir)"
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
am_xfwp_OBJECTS = xfwp-io.$(OBJEXT) xfwp-misc.$(OBJEXT) \
xfwp-pm.$(OBJEXT) xfwp-transport.$(OBJEXT) xfwp-xfwp.$(OBJEXT)
am_xfwp_OBJECTS = io.$(OBJEXT) misc.$(OBJEXT) pm.$(OBJEXT) \
transport.$(OBJEXT) xfwp.$(OBJEXT)
xfwp_OBJECTS = $(am_xfwp_OBJECTS)
am__DEPENDENCIES_1 =
xfwp_DEPENDENCIES = $(am__DEPENDENCIES_1)
@ -118,6 +117,7 @@ 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@
AUTOCONF = @AUTOCONF@
@ -127,7 +127,10 @@ AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CHANGELOG_CMD = @CHANGELOG_CMD@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CWARNFLAGS = @CWARNFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
@ -136,9 +139,12 @@ DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
FILE_MAN_DIR = @FILE_MAN_DIR@
FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
GREP = @GREP@
INSTALL_CMD = @INSTALL_CMD@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
@ -153,6 +159,7 @@ MAINT = @MAINT@
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
MAN_SUBSTS = @MAN_SUBSTS@
MISC_MAN_DIR = @MISC_MAN_DIR@
MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
OBJEXT = @OBJEXT@
@ -164,15 +171,15 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
XFWP_CFLAGS = @XFWP_CFLAGS@
XFWP_LIBS = @XFWP_LIBS@
XORG_MAN_PAGE = @XORG_MAN_PAGE@
ac_ct_CC = @ac_ct_CC@
ac_ct_STRIP = @ac_ct_STRIP@
ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__include = @am__include@
@ -187,28 +194,35 @@ 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@
xfwp_CFLAGS = $(XFWP_CFLAGS)
AM_CFLAGS = $(CWARNFLAGS) $(XFWP_CFLAGS) $(OS_CFLAGS)
xfwp_LDADD = $(XFWP_LIBS)
xfwp_SOURCES = \
io.c \
@ -227,27 +241,10 @@ appman_PRE = \
appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
EXTRA_DIST = $(appman_PRE)
EXTRA_DIST = $(appman_PRE) ChangeLog
CLEANFILES = $(appman_DATA)
SED = sed
# Strings to replace in man pages
XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11
MAN_SUBSTS = \
-e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
-e 's|__xservername__|Xorg|g' \
-e 's|__xconfigfile__|xorg.conf|g' \
-e 's|__projectroot__|$(prefix)|g' \
-e 's|__apploaddir__|$(appdefaultdir)|' \
-e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
-e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \
-e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \
-e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
-e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
SUFFIXES = .$(APP_MAN_SUFFIX) .man
MAINTAINERCLEANFILES = ChangeLog
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-am
@ -336,11 +333,11 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xfwp-io.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xfwp-misc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xfwp-pm.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xfwp-transport.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xfwp-xfwp.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pm.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/transport.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xfwp.Po@am__quote@
.c.o:
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
@ -355,76 +352,6 @@ distclean-compile:
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
xfwp-io.o: io.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -MT xfwp-io.o -MD -MP -MF "$(DEPDIR)/xfwp-io.Tpo" -c -o xfwp-io.o `test -f 'io.c' || echo '$(srcdir)/'`io.c; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xfwp-io.Tpo" "$(DEPDIR)/xfwp-io.Po"; else rm -f "$(DEPDIR)/xfwp-io.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io.c' object='xfwp-io.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -c -o xfwp-io.o `test -f 'io.c' || echo '$(srcdir)/'`io.c
xfwp-io.obj: io.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -MT xfwp-io.obj -MD -MP -MF "$(DEPDIR)/xfwp-io.Tpo" -c -o xfwp-io.obj `if test -f 'io.c'; then $(CYGPATH_W) 'io.c'; else $(CYGPATH_W) '$(srcdir)/io.c'; fi`; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xfwp-io.Tpo" "$(DEPDIR)/xfwp-io.Po"; else rm -f "$(DEPDIR)/xfwp-io.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io.c' object='xfwp-io.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -c -o xfwp-io.obj `if test -f 'io.c'; then $(CYGPATH_W) 'io.c'; else $(CYGPATH_W) '$(srcdir)/io.c'; fi`
xfwp-misc.o: misc.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -MT xfwp-misc.o -MD -MP -MF "$(DEPDIR)/xfwp-misc.Tpo" -c -o xfwp-misc.o `test -f 'misc.c' || echo '$(srcdir)/'`misc.c; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xfwp-misc.Tpo" "$(DEPDIR)/xfwp-misc.Po"; else rm -f "$(DEPDIR)/xfwp-misc.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='misc.c' object='xfwp-misc.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -c -o xfwp-misc.o `test -f 'misc.c' || echo '$(srcdir)/'`misc.c
xfwp-misc.obj: misc.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -MT xfwp-misc.obj -MD -MP -MF "$(DEPDIR)/xfwp-misc.Tpo" -c -o xfwp-misc.obj `if test -f 'misc.c'; then $(CYGPATH_W) 'misc.c'; else $(CYGPATH_W) '$(srcdir)/misc.c'; fi`; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xfwp-misc.Tpo" "$(DEPDIR)/xfwp-misc.Po"; else rm -f "$(DEPDIR)/xfwp-misc.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='misc.c' object='xfwp-misc.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -c -o xfwp-misc.obj `if test -f 'misc.c'; then $(CYGPATH_W) 'misc.c'; else $(CYGPATH_W) '$(srcdir)/misc.c'; fi`
xfwp-pm.o: pm.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -MT xfwp-pm.o -MD -MP -MF "$(DEPDIR)/xfwp-pm.Tpo" -c -o xfwp-pm.o `test -f 'pm.c' || echo '$(srcdir)/'`pm.c; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xfwp-pm.Tpo" "$(DEPDIR)/xfwp-pm.Po"; else rm -f "$(DEPDIR)/xfwp-pm.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pm.c' object='xfwp-pm.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -c -o xfwp-pm.o `test -f 'pm.c' || echo '$(srcdir)/'`pm.c
xfwp-pm.obj: pm.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -MT xfwp-pm.obj -MD -MP -MF "$(DEPDIR)/xfwp-pm.Tpo" -c -o xfwp-pm.obj `if test -f 'pm.c'; then $(CYGPATH_W) 'pm.c'; else $(CYGPATH_W) '$(srcdir)/pm.c'; fi`; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xfwp-pm.Tpo" "$(DEPDIR)/xfwp-pm.Po"; else rm -f "$(DEPDIR)/xfwp-pm.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pm.c' object='xfwp-pm.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -c -o xfwp-pm.obj `if test -f 'pm.c'; then $(CYGPATH_W) 'pm.c'; else $(CYGPATH_W) '$(srcdir)/pm.c'; fi`
xfwp-transport.o: transport.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -MT xfwp-transport.o -MD -MP -MF "$(DEPDIR)/xfwp-transport.Tpo" -c -o xfwp-transport.o `test -f 'transport.c' || echo '$(srcdir)/'`transport.c; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xfwp-transport.Tpo" "$(DEPDIR)/xfwp-transport.Po"; else rm -f "$(DEPDIR)/xfwp-transport.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='transport.c' object='xfwp-transport.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -c -o xfwp-transport.o `test -f 'transport.c' || echo '$(srcdir)/'`transport.c
xfwp-transport.obj: transport.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -MT xfwp-transport.obj -MD -MP -MF "$(DEPDIR)/xfwp-transport.Tpo" -c -o xfwp-transport.obj `if test -f 'transport.c'; then $(CYGPATH_W) 'transport.c'; else $(CYGPATH_W) '$(srcdir)/transport.c'; fi`; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xfwp-transport.Tpo" "$(DEPDIR)/xfwp-transport.Po"; else rm -f "$(DEPDIR)/xfwp-transport.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='transport.c' object='xfwp-transport.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -c -o xfwp-transport.obj `if test -f 'transport.c'; then $(CYGPATH_W) 'transport.c'; else $(CYGPATH_W) '$(srcdir)/transport.c'; fi`
xfwp-xfwp.o: xfwp.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -MT xfwp-xfwp.o -MD -MP -MF "$(DEPDIR)/xfwp-xfwp.Tpo" -c -o xfwp-xfwp.o `test -f 'xfwp.c' || echo '$(srcdir)/'`xfwp.c; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xfwp-xfwp.Tpo" "$(DEPDIR)/xfwp-xfwp.Po"; else rm -f "$(DEPDIR)/xfwp-xfwp.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xfwp.c' object='xfwp-xfwp.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -c -o xfwp-xfwp.o `test -f 'xfwp.c' || echo '$(srcdir)/'`xfwp.c
xfwp-xfwp.obj: xfwp.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -MT xfwp-xfwp.obj -MD -MP -MF "$(DEPDIR)/xfwp-xfwp.Tpo" -c -o xfwp-xfwp.obj `if test -f 'xfwp.c'; then $(CYGPATH_W) 'xfwp.c'; else $(CYGPATH_W) '$(srcdir)/xfwp.c'; fi`; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/xfwp-xfwp.Tpo" "$(DEPDIR)/xfwp-xfwp.Po"; else rm -f "$(DEPDIR)/xfwp-xfwp.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xfwp.c' object='xfwp-xfwp.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xfwp_CFLAGS) $(CFLAGS) -c -o xfwp-xfwp.obj `if test -f 'xfwp.c'; then $(CYGPATH_W) 'xfwp.c'; else $(CYGPATH_W) '$(srcdir)/xfwp.c'; fi`
uninstall-info-am:
install-appmanDATA: $(appman_DATA)
@$(NORMAL_INSTALL)
@ -521,6 +448,9 @@ distdir: $(DISTFILES)
|| exit 1; \
fi; \
done
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$(top_distdir)" distdir="$(distdir)" \
dist-hook
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
@ -650,6 +580,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-am
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
@ -705,8 +636,8 @@ uninstall-am: uninstall-appmanDATA uninstall-binPROGRAMS \
.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
distclean-compile distclean-generic distclean-hdr \
dist-gzip dist-hook dist-shar dist-tarZ dist-zip distcheck \
distclean distclean-compile distclean-generic distclean-hdr \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
install-appmanDATA install-binPROGRAMS install-data \
@ -719,8 +650,16 @@ uninstall-am: uninstall-appmanDATA uninstall-binPROGRAMS \
uninstall-info-am
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
.man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
.PHONY: ChangeLog
ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog
# 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:

View File

@ -0,0 +1,25 @@
xfwp proxies X11 protocol connections, such as through a firewall.
All questions regarding this software should be directed at the
Xorg mailing list:
http://lists.freedesktop.org/mailman/listinfo/xorg
Please submit bug reports to the Xorg bugzilla:
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
The master development code repository can be found at:
git://anongit.freedesktop.org/git/xorg/app/xfwp
http://cgit.freedesktop.org/xorg/app/xfwp
For patch submission instructions, see:
http://www.x.org/wiki/Development/Documentation/SubmittingPatches
For more information on the git code manager, see:
http://wiki.x.org/wiki/GitPage

1030
app/xfwp/aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,142 +0,0 @@
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
case $1 in
'')
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand `-c -o'.
Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file `INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
esac
ofile=
cfile=
eat=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as `compile cc -o foo foo.c'.
# So we strip `-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no `-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# `.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
# Create the lock directory.
# Note: use `[/.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

View File

@ -3,6 +3,39 @@
/* Define to 1 if `struct sockaddr_in' has a `sin_len' member */
#undef BSD44SOCKETS
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `ws2_32' library (-lws2_32). */
#undef HAVE_LIBWS2_32
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if the system has the type `socklen_t'. */
#undef HAVE_SOCKLEN_T
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Support IPv6 for TCP connections */
#undef IPv6
@ -33,5 +66,8 @@
/* Patch version of this package */
#undef PACKAGE_VERSION_PATCHLEVEL
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION

7493
app/xfwp/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -21,26 +21,39 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
AC_INIT(xfwp,[1.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xfwp)
# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([xfwp], [1.0.2],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xfwp])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
# Initialize Automake
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
AC_PROG_CC
AC_PROG_INSTALL
AC_CANONICAL_HOST
case $host_os in
linux*|gnu*|*-gnu)
OS_CFLAGS="-D_XOPEN_SOURCE -D_BSD_SOURCE"
;;
*)
OS_CFLAGS=
;;
esac
# Checks for pkg-config packages
PKG_CHECK_MODULES(XFWP, x11 ice xproxymngproto)
AC_SUBST(XFWP_CFLAGS)
AC_SUBST(XFWP_LIBS)
PKG_CHECK_MODULES(XFWP, xproto ice xproxymngproto)
# Check for libraries needed for TCP sockets on some platforms
# and defines like BSD44SOCKETS needed on others
XTRANS_TCP_FLAGS
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
AC_OUTPUT([Makefile])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

View File

@ -34,6 +34,7 @@ X Window System is a trademark of The Open Group.
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <X11/Xos.h> /* Needed here for SunOS */
#include <netinet/in.h>
#include <arpa/inet.h>

View File

@ -1,158 +0,0 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2005-06-29.22
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
#
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
errstatus=0
dirmode=
usage="\
Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
Create each directory DIR (with mode MODE, if specified), including all
leading file name components.
Report bugs to <bug-automake@gnu.org>."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help | --h*) # -h for help
echo "$usage"
exit $?
;;
-m) # -m PERM arg
shift
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
dirmode=$1
shift
;;
--version)
echo "$0 $scriptversion"
exit $?
;;
--) # stop option processing
shift
break
;;
-*) # unknown option
echo "$usage" 1>&2
exit 1
;;
*) # first non-opt arg
break
;;
esac
done
for file
do
if test -d "$file"; then
shift
else
break
fi
done
case $# in
0) exit 0 ;;
esac
# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
# mkdir -p a/c at the same time, both will detect that a is missing,
# one will create a, then the other will try to create a and die with
# a "File exists" error. This is a problem when calling mkinstalldirs
# from a parallel make. We use --version in the probe to restrict
# ourselves to GNU mkdir, which is thread-safe.
case $dirmode in
'')
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
echo "mkdir -p -- $*"
exec mkdir -p -- "$@"
else
# On NextStep and OpenStep, the `mkdir' command does not
# recognize any option. It will interpret all options as
# directories to create, and then abort because `.' already
# exists.
test -d ./-p && rmdir ./-p
test -d ./--version && rmdir ./--version
fi
;;
*)
if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
test ! -d ./--version; then
echo "mkdir -m $dirmode -p -- $*"
exec mkdir -m "$dirmode" -p -- "$@"
else
# Clean up after NextStep and OpenStep mkdir.
for d in ./-m ./-p ./--version "./$dirmode";
do
test -d $d && rmdir $d
done
fi
;;
esac
for file
do
case $file in
/*) pathcomp=/ ;;
*) pathcomp= ;;
esac
oIFS=$IFS
IFS=/
set fnord $file
shift
IFS=$oIFS
for d
do
test "x$d" = x && continue
pathcomp=$pathcomp$d
case $pathcomp in
-*) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
else
if test ! -z "$dirmode"; then
echo "chmod $dirmode $pathcomp"
lasterr=
chmod "$dirmode" "$pathcomp" || lasterr=$?
if test ! -z "$lasterr"; then
errstatus=$lasterr
fi
fi
fi
fi
pathcomp=$pathcomp/
done
done
exit $errstatus
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

View File

@ -228,7 +228,7 @@ void FWPprocessMessages(
*
*/
pm_send_msg_len = STRING_BYTES(config_failure)
+ STRING_BYTES(NULL);
+ STRING_BYTES("");
IceGetHeaderExtra(iceConn,
program_data->major_opcode,
PM_GetProxyAddrReply,
@ -238,7 +238,7 @@ void FWPprocessMessages(
pReply,
pReplyData);
pReply->status = PM_Failure;
STORE_STRING(pReplyData, NULL);
STORE_STRING(pReplyData, "");
STORE_STRING(pReplyData, config_failure);
IceFlush(iceConn);
free(tmp_str);
@ -304,7 +304,7 @@ void FWPprocessMessages(
* use IceGetHeaderExtra() and the
*/
pm_send_msg_len = STRING_BYTES(listen_port_string)
+ STRING_BYTES(NULL);
+ STRING_BYTES("");
IceGetHeaderExtra(iceConn,
program_data->major_opcode,
PM_GetProxyAddrReply,
@ -315,7 +315,7 @@ void FWPprocessMessages(
pReplyData);
pReply->status = PM_Success;
STORE_STRING(pReplyData, listen_port_string);
STORE_STRING(pReplyData, NULL);
STORE_STRING(pReplyData, "");
IceFlush(iceConn);
/*
* before leaving this routine, change the select() timeout

View File

@ -233,8 +233,8 @@ extern int SitePolicyPermit;
* Compute the number of bytes for a STRING representation
*/
#define STRING_BYTES(_str) (2 + (_str ? strlen (_str) : 0) + \
PAD64 (2 + (_str ? strlen (_str) : 0)))
#define STRING_BYTES(_str) (2 + strlen (_str) + \
PAD64 (2 + strlen (_str)))
@ -259,7 +259,7 @@ extern int SitePolicyPermit;
#define STORE_STRING(_pBuf, _string) \
{ \
int _len = _string ? strlen (_string) : 0; \
int _len = strlen (_string); \
STORE_CARD16 (_pBuf, _len); \
if (_len) { \
memcpy (_pBuf, _string, _len); \