From 8cc7287fd11cd746020ce2aa8032f3fbc5f16f6b Mon Sep 17 00:00:00 2001 From: Kensuke Matsuzaki Date: Fri, 5 Dec 2003 03:37:26 +0000 Subject: [PATCH 01/29] file windowswmstr.h was initially added on branch CYGWIN. From 65d9ace55bd7cfa8e2158c9cb17455be8d9bdea9 Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Mon, 26 Jul 2004 19:15:48 +0000 Subject: [PATCH 02/29] Import lib/windows from CYGWIN branch. --- windowswm.h | 195 +++++++++++++++++++++++++++++++++++++++++++++++++ windowswmstr.h | 169 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 364 insertions(+) create mode 100755 windowswm.h create mode 100755 windowswmstr.h diff --git a/windowswm.h b/windowswm.h new file mode 100755 index 0000000..2c3379f --- /dev/null +++ b/windowswm.h @@ -0,0 +1,195 @@ +/* + * WindowsWM extension is based on AppleWM extension + * Authors: Kensuke Matsuzaki + */ +/************************************************************************** + +Copyright (c) 2002 Apple Computer, Inc. +All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sub license, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice (including the +next paragraph) shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. +IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +**************************************************************************/ + +#ifndef _WINDOWSWM_H_ +#define _WINDOWSWM_H_ + +#include + +#define X_WindowsWMQueryVersion 0 +#define X_WindowsWMFrameGetRect 1 +#define X_WindowsWMFrameDraw 2 +#define X_WindowsWMFrameSetTitle 3 +#define X_WindowsWMDisableUpdate 4 +#define X_WindowsWMReenableUpdate 5 +#define X_WindowsWMSelectInput 6 +#define X_WindowsWMSetFrontProcess 7 + +/* Events */ +#define WindowsWMControllerNotify 0 +#define WindowsWMActivationNotify 1 +#define WindowsWMNumberEvents 2 + +#define WindowsWMControllerNotifyMask (1L << 0) +#define WindowsWMActivationNotifyMask (1L << 1) + +/* "Kinds" of ControllerNotify events */ +#define WindowsWMMinimizeWindow 0 +#define WindowsWMMaximizeWindow 1 +#define WindowsWMRestoreWindow 2 +#define WindowsWMCloseWindow 3 +#define WindowsWMBringAllToFront 4 +#define WindowsWMHideWindow 5 +#define WindowsWMMoveWindow 6 +#define WindowsWMResizeWindow 7 +#define WindowsWMActivateWindow 8 + +/* "Kinds" of ActivationNotify events */ +#define WindowsWMIsActive 0 +#define WindowsWMIsInactive 1 + +/* Errors */ +#define WindowsWMClientNotLocal 0 +#define WindowsWMOperationNotSupported 1 +#define WindowsWMNumberErrors (WindowsWMOperationNotSupported + 1) + +/* Possible value for frame_rect argument to XWindowsWMFrameGetRect() */ +#define WindowsWMFrameRectTitleBar 1 +#define WindowsWMFrameRectTracking 2 +#define WindowsWMFrameRectGrowBox 3 + +/* Window frame styles */ +#define WindowsWMFrameStyleBorder 0x800000 +#define WindowsWMFrameStyleCaption 0xc00000 +#define WindowsWMFrameStyleChild 0x40000000 +#define WindowsWMFrameStyleChildWindow 0x40000000 +#define WindowsWMFrameStyleClipChildren 0x2000000 +#define WindowsWMFrameStyleClipSiblings 0x4000000 +#define WindowsWMFrameStyleDisabled 0x8000000 +#define WindowsWMFrameStyleDlgFrame 0x400000 +#define WindowsWMFrameStyleGroup 0x20000 +#define WindowsWMFrameStyleHScroll 0x100000 +#define WindowsWMFrameStyleIconic 0x20000000 +#define WindowsWMFrameStyleMaximize 0x1000000 +#define WindowsWMFrameStyleMaximizeBox 0x10000 +#define WindowsWMFrameStyleMinimize 0x20000000 +#define WindowsWMFrameStyleMinimizeBox 0x20000 +#define WindowsWMFrameStyleOverlapped 0 +#define WindowsWMFrameStyleOverlappedWindow 0xcf0000 +#define WindowsWMFrameStylePopup 0x80000000 +#define WindowsWMFrameStylePopupWindow 0x80880000 +#define WindowsWMFrameStyleSizeBox 0x40000 +#define WindowsWMFrameStyleSysMenu 0x80000 +#define WindowsWMFrameStyleTabStop 0x10000 +#define WindowsWMFrameStyleThickFrame 0x40000 +#define WindowsWMFrameStyleTiled 0 +#define WindowsWMFrameStyleTiledWindow 0xcf0000 +#define WindowsWMFrameStyleVisible 0x10000000 +#define WindowsWMFrameStyleVScroll 0x200000 + +/* Window frame Ex-styles */ +#define WindowsWMFrameStyleExAcceptFiles 16 +#define WindowsWMFrameStyleExAppWindow 0x40000 +#define WindowsWMFrameStyleExClientEdge 512 +#define WindowsWMFrameStyleExComposited 0x2000000 +#define WindowsWMFrameStyleExContextHelp 0x400 +#define WindowsWMFrameStyleExControlParent 0x10000 +#define WindowsWMFrameStyleExDlgModalFrame 1 +#define WindowsWMFrameStyleExLayered 0x80000 +#define WindowsWMFrameStyleExLayoutRtl 0x400000 +#define WindowsWMFrameStyleExLeft 0 +#define WindowsWMFrameStyleExLeftScrollBar 0x4000 +#define WindowsWMFrameStyleExLtrReading 0 +#define WindowsWMFrameStyleExMDIChild 64 +#define WindowsWMFrameStyleExNoActivate 0x8000000 +#define WindowsWMFrameStyleExNoInheritLayout 0x100000 +#define WindowsWMFrameStyleExNoParentNotify 4 +#define WindowsWMFrameStyleExOverlappedWindow 0x300 +#define WindowsWMFrameStyleExPaletteWindow 0x188 +#define WindowsWMFrameStyleExRight 0x1000 +#define WindowsWMFrameStyleExRightScrollBar 0 +#define WindowsWMFrameStyleExRtlReading 0x2000 +#define WindowsWMFrameStyleExStaticEdge 0x20000 +#define WindowsWMFrameStyleExToolWindow 128 +#define WindowsWMFrameStyleExTopMost 8 +#define WindowsWMFrameStyleExTransparent 32 +#define WindowsWMFrameStyleExWindowEdge 256 + +#define WINDOWSWM_RAISE_ON_CLICK "_WINDOWSWM_RAISE_ON_CLICK" +#define WINDOWSWM_MOUSE_ACTIVATE "_WINDOWSWM_MOUSE_ACTIVATE" +#define WINDOWSWM_CLIENT_WINDOW "_WINDOWSWM_CLIENT_WINDOW" +#define WINDOWSWM_NATIVE_HWND "_WINDOWSWM_NATIVE_HWND" + +#ifndef _WINDOWSWM_SERVER_ + +typedef struct { + int type; /* of event */ + unsigned long serial; /* # of last request processed by server */ + Bool send_event; /* true if this came frome a SendEvent request */ + Display *display; /* Display the event was read from */ + Window window; /* window of event */ + Time time; /* server timestamp when event happened */ + int kind; /* subtype of event */ + int arg; + int x; + int y; + int w; + int h; +} XWindowsWMNotifyEvent; + +_XFUNCPROTOBEGIN + +Bool XWindowsWMQueryExtension (Display *dpy, int *event_base, int *error_base); + +Bool XWindowsWMQueryVersion (Display *dpy, int *majorVersion, + int *minorVersion, int *patchVersion); + +Bool XWindowsWMDisableUpdate (Display *dpy, int screen); + +Bool XWindowsWMReenableUpdate (Display *dpy, int screen); + +Bool XWindowsWMSelectInput (Display *dpy, unsigned long mask); + +Bool XWindowsWMSetFrontProcess (Display *dpy); + +Bool XWindowsWMFrameGetRect (Display *dpy, + unsigned int frame_style, + unsigned int frame_style_ex, + unsigned int frame_rect, + short inner_x, short inner_y, + short inner_w, short inner_h, + short *ret_x, short *ret_y, + short *ret_w, short *ret_h); + +Bool XWindowsWMFrameDraw (Display *dpy, int screen, Window window, + unsigned int frame_style, + unsigned int frame_style_ex, + short inner_x, short inner_y, + short inner_w, short inner_h); + +Bool XWindowsWMFrameSetTitle (Display *dpy, int screen, Window window, + unsigned int title_length, + const char * title_bytes); + +_XFUNCPROTOEND + +#endif /* _WINDOWSWM_SERVER_ */ +#endif /* _WINDOWSWM_H_ */ diff --git a/windowswmstr.h b/windowswmstr.h new file mode 100755 index 0000000..37ceb53 --- /dev/null +++ b/windowswmstr.h @@ -0,0 +1,169 @@ +/* + * WindowsWM extension is based on AppleWM extension + * Authors: Kensuke Matsuzaki + */ +/************************************************************************** + +Copyright (c) 2002 Apple Computer, Inc. +All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sub license, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice (including the +next paragraph) shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. +IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +**************************************************************************/ + +#ifndef _WINDOWSWMSTR_H_ +#define _WINDOWSWMSTR_H_ + +#include +#include +#include + +#define WINDOWSWMNAME "Windows-WM" + +#define WINDOWS_WM_MAJOR_VERSION 1 /* current version numbers */ +#define WINDOWS_WM_MINOR_VERSION 0 +#define WINDOWS_WM_PATCH_VERSION 0 + +typedef struct _WindowsWMQueryVersion { + CARD8 reqType; /* always WMReqCode */ + CARD8 wmReqType; /* always X_WMQueryVersion */ + CARD16 length B16; +} xWindowsWMQueryVersionReq; +#define sz_xWindowsWMQueryVersionReq 4 + +typedef struct { + BYTE type; /* X_Reply */ + BOOL pad1; + CARD16 sequenceNumber B16; + CARD32 length B32; + CARD16 majorVersion B16; /* major version of WM protocol */ + CARD16 minorVersion B16; /* minor version of WM protocol */ + CARD32 patchVersion B32; /* patch version of WM protocol */ + CARD32 pad3 B32; + CARD32 pad4 B32; + CARD32 pad5 B32; + CARD32 pad6 B32; +} xWindowsWMQueryVersionReply; +#define sz_xWindowsWMQueryVersionReply 32 + +typedef struct _WindowsWMDisableUpdate { + CARD8 reqType; /* always WMReqCode */ + CARD8 wmReqType; /* always X_WMDisableUpdate */ + CARD16 length B16; + CARD32 screen B32; +} xWindowsWMDisableUpdateReq; +#define sz_xWindowsWMDisableUpdateReq 8 + +typedef struct _WindowsWMReenableUpdate { + CARD8 reqType; /* always WMReqCode */ + CARD8 wmReqType; /* always X_WMReenableUpdate */ + CARD16 length B16; + CARD32 screen B32; +} xWindowsWMReenableUpdateReq; +#define sz_xWindowsWMReenableUpdateReq 8 + +typedef struct _WindowsWMSelectInput { + CARD8 reqType; /* always WMReqCode */ + CARD8 wmReqType; /* always X_WMSelectInput */ + CARD16 length B16; + CARD32 mask B32; +} xWindowsWMSelectInputReq; +#define sz_xWindowsWMSelectInputReq 8 + +typedef struct _WindowsWMNotify { + BYTE type; /* always eventBase + event type */ + BYTE kind; + CARD16 sequenceNumber B16; + Window window B32; + Time time B32; /* time of change */ + CARD16 pad1 B16; + CARD32 arg B32; + INT16 x B16; + INT16 y B16; + CARD16 w B16; + CARD16 h B16; +} xWindowsWMNotifyEvent; +#define sz_xWindowsWMNotifyEvent 28 + +typedef struct _WindowsWMSetFrontProcess { + CARD8 reqType; /* always WMReqCode */ + CARD8 wmReqType; /* always X_WMSetFrontProcess */ + CARD16 length B16; +} xWindowsWMSetFrontProcessReq; +#define sz_xWindowsWMSetFrontProcessReq 4 + +typedef struct _WindowsWMFrameGetRect { + CARD8 reqType; /* always WMReqCode */ + CARD8 wmReqType; /* always X_WMFrameGetRect */ + CARD16 length B16; + CARD32 frame_style B32; + CARD32 frame_style_ex B32; + CARD16 frame_rect B16; + INT16 ix B16; + INT16 iy B16; + CARD16 iw B16; + CARD16 ih B16; + CARD16 pad1 B16; +} xWindowsWMFrameGetRectReq; +#define sz_xWindowsWMFrameGetRectReq 24 + +typedef struct { + BYTE type; /* X_Reply */ + BOOL pad1; + CARD16 sequenceNumber B16; + CARD32 length B32; + INT16 x B16; + INT16 y B16; + CARD16 w B16; + CARD16 h B16; + CARD32 pad3 B32; + CARD32 pad4 B32; + CARD32 pad5 B32; + CARD32 pad6 B32; +} xWindowsWMFrameGetRectReply; +#define sz_xWindowsWMFrameGetRectReply 32 + +typedef struct _WindowsWMFrameDraw { + CARD8 reqType; /* always WMReqCode */ + CARD8 wmReqType; /* always X_WMFrameDraw */ + CARD16 length B16; + CARD32 screen B32; + CARD32 window B32; + CARD32 frame_style B32; + CARD32 frame_style_ex B32; + INT16 ix B16; + INT16 iy B16; + CARD16 iw B16; + CARD16 ih B16; +} xWindowsWMFrameDrawReq; +#define sz_xWindowsWMFrameDrawReq 28 + +typedef struct _WindowsWMFrameSetTitle { + CARD8 reqType; /* always WMReqCode */ + CARD8 wmReqType; /* always X_WMFrameSetTitle */ + CARD16 length B16; + CARD32 screen B32; + CARD32 window B32; + CARD32 title_length B32; +} xWindowsWMFrameSetTitleReq; +#define sz_xWindowsWMFrameSetTitleReq 16 + +#endif /* _WINDOWSWMSTR_H_ */ From cf7f62a5886eaeb10c5479cb231a417388de872b Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 30 Sep 2005 22:36:30 +0000 Subject: [PATCH 03/29] Protocol module for WindowsWM --- Makefile.am | 9 +++++++++ autogen.sh | 12 ++++++++++++ configure.ac | 8 ++++++++ windowswmproto.pc.in | 9 +++++++++ 4 files changed, 38 insertions(+) create mode 100644 Makefile.am create mode 100755 autogen.sh create mode 100644 configure.ac create mode 100644 windowswmproto.pc.in diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..114cba7 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,9 @@ +windowswmdir = $(includedir)/X11/extensions +windowswm_HEADERS = \ + windowswm.h \ + windowswmstr.h + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = windowswmproto.pc + +EXTRA_DIST = autogen.sh windowswmproto.pc.in diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..904cd67 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..401aa93 --- /dev/null +++ b/configure.ac @@ -0,0 +1,8 @@ +AC_PREREQ([2.57]) +AC_INIT([WindowsWMProto], [1.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) +AM_INIT_AUTOMAKE([foreign dist-bzip2]) + +XORG_RELEASE_VERSION + +AC_OUTPUT([Makefile + windowswmproto.pc]) diff --git a/windowswmproto.pc.in b/windowswmproto.pc.in new file mode 100644 index 0000000..6ec1c48 --- /dev/null +++ b/windowswmproto.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: AppleWMProto +Description: AppleWM extension headers +Version: @PACKAGE_VERSION@ +Cflags: -I${includedir} From 0877cd202a528d9366d9296047ec35a74f43729e Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Wed, 19 Oct 2005 02:48:15 +0000 Subject: [PATCH 04/29] Update package version number for RC1 release. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 401aa93..70826ac 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.57]) -AC_INIT([WindowsWMProto], [1.0], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) +AC_INIT([WindowsWMProto], [1.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) XORG_RELEASE_VERSION From 9e1f026c9b3f38113ffd9feb7886efe19bab6106 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 21 Nov 2005 10:50:58 +0000 Subject: [PATCH 05/29] Add missing .cvsignores for protos. --- .cvsignore | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .cvsignore diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..d9c4af2 --- /dev/null +++ b/.cvsignore @@ -0,0 +1,10 @@ +Makefile +Makefile.in +aclocal.m4 +autom4te.cache +config.log +config.status +configure +install-sh +missing +windowswmproto.pc From 521c3ef29e3defbe9e4d40c474afc046b63da244 Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Thu, 15 Dec 2005 00:24:39 +0000 Subject: [PATCH 06/29] Update package version number for final X11R7 release candidate. --- ChangeLog | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..c722b51 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,4 @@ +2005-12-14 Kevin E. Martin + + * configure.ac: + Update package version number for final X11R7 release candidate. diff --git a/configure.ac b/configure.ac index 70826ac..7ef5b41 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.57]) -AC_INIT([WindowsWMProto], [1.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) +AC_INIT([WindowsWMProto], [1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) XORG_RELEASE_VERSION From 325b4607fb415742e1b56eebe4f217291710cb1c Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 19 Dec 2005 16:32:25 +0000 Subject: [PATCH 07/29] Stub COPYING files --- COPYING | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..7f33cbf --- /dev/null +++ b/COPYING @@ -0,0 +1,12 @@ +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: + +https://bugs.freedesktop.org/enter_bug.cgi?product=xorg + +All licensing questions regarding this software should be directed at the +Xorg mailing list: + +http://lists.freedesktop.org/mailman/listinfo/xorg From 4760e8d79f2738208a0f59a77f57bac7f07185ee Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Wed, 21 Dec 2005 02:30:07 +0000 Subject: [PATCH 08/29] Update package version for X11R7 release. --- ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c722b51..508952f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-12-20 Kevin E. Martin + + * configure.ac: + Update package version for X11R7 release. + 2005-12-14 Kevin E. Martin * configure.ac: diff --git a/configure.ac b/configure.ac index 7ef5b41..2ce36f2 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.57]) -AC_INIT([WindowsWMProto], [1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) +AC_INIT([WindowsWMProto], [1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) XORG_RELEASE_VERSION From c62fc741fd050ce7df15c5e88482de9268351553 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 14 Jul 2006 18:56:37 -0700 Subject: [PATCH 09/29] renamed: .cvsignore -> .gitignore --- .cvsignore => .gitignore | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .cvsignore => .gitignore (100%) diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore From 734df1b37c3c7c51698866bb67bc5e519dcafb67 Mon Sep 17 00:00:00 2001 From: James Cloos Date: Mon, 3 Sep 2007 05:54:23 -0400 Subject: [PATCH 10/29] Add *~ to .gitignore to skip patch/emacs droppings --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index d9c4af2..370396f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ configure install-sh missing windowswmproto.pc +*~ From 88f1641fe4f04382ff15201dc1329282d4390038 Mon Sep 17 00:00:00 2001 From: James Cloos Date: Thu, 6 Dec 2007 16:39:09 -0500 Subject: [PATCH 11/29] Replace static ChangeLog with dist-hook to generate from git log --- ChangeLog | 9 --------- Makefile.am | 10 ++++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 508952f..0000000 --- a/ChangeLog +++ /dev/null @@ -1,9 +0,0 @@ -2005-12-20 Kevin E. Martin - - * configure.ac: - Update package version for X11R7 release. - -2005-12-14 Kevin E. Martin - - * configure.ac: - Update package version number for final X11R7 release candidate. diff --git a/Makefile.am b/Makefile.am index 114cba7..f88ce07 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,3 +7,13 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = windowswmproto.pc EXTRA_DIST = autogen.sh windowswmproto.pc.in + +EXTRA_DIST += ChangeLog +MAINTAINERCLEANFILES = ChangeLog + +.PHONY: ChangeLog + +ChangeLog: + (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) + +dist-hook: ChangeLog From 2e4d41ee5cc14034d4485fb395d0a1b324fc98a0 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Tue, 27 Jan 2009 20:06:28 -0200 Subject: [PATCH 12/29] Janitor: Correct make distcheck and dont distribute autogen.sh --- .gitignore | 3 +++ Makefile.am | 4 ++-- configure.ac | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 370396f..75f3ae3 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ install-sh missing windowswmproto.pc *~ +windowswmproto-*.tar.* +ChangeLog +tags diff --git a/Makefile.am b/Makefile.am index f88ce07..8743a62 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,7 @@ windowswm_HEADERS = \ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = windowswmproto.pc -EXTRA_DIST = autogen.sh windowswmproto.pc.in +EXTRA_DIST = windowswmproto.pc.in EXTRA_DIST += ChangeLog MAINTAINERCLEANFILES = ChangeLog @@ -14,6 +14,6 @@ MAINTAINERCLEANFILES = ChangeLog .PHONY: ChangeLog ChangeLog: - (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) + $(CHANGELOG_CMD) dist-hook: ChangeLog diff --git a/configure.ac b/configure.ac index 2ce36f2..2f908a8 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,11 @@ AC_PREREQ([2.57]) AC_INIT([WindowsWMProto], [1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) +# Require xorg-macros: XORG_CHANGELOG +m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.2) XORG_RELEASE_VERSION +XORG_CHANGELOG AC_OUTPUT([Makefile windowswmproto.pc]) From cc73dda549da6a4fd0a5721315d0dba3f5030fc3 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 3 Aug 2009 20:49:59 -0700 Subject: [PATCH 13/29] Bug 21939: windowswmproto has applewmproto leftovers in .pc.in X.Org Bugzilla #21939: http://bugs.freedesktop.org/show_bug.cgi?id=21939 Signed-off-by: Alan Coopersmith --- windowswmproto.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windowswmproto.pc.in b/windowswmproto.pc.in index 6ec1c48..09f8a3a 100644 --- a/windowswmproto.pc.in +++ b/windowswmproto.pc.in @@ -3,7 +3,7 @@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ -Name: AppleWMProto -Description: AppleWM extension headers +Name: WindowsWMProto +Description: WindowsWM extension headers Version: @PACKAGE_VERSION@ Cflags: -I${includedir} From 70fb0454a8a50aaa4962cb91fe11807d5dd3a6d9 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 2 Oct 2009 20:06:30 -0700 Subject: [PATCH 14/29] Add pointers to mailing list, git repo, wiki, and cygwin/x website to README Signed-off-by: Alan Coopersmith --- README | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..cd4ce14 --- /dev/null +++ b/README @@ -0,0 +1,34 @@ +This module provides the definition of the WindowsWM extension to the +X11 protocol, used for coordination between an X11 server and the +Microsoft Windows native window manager. + +WindowsWM is only intended to be used on Cygwin when running a +rootless XWin server. + +All questions regarding this software should be directed at the +Xorg mailing list: + + http://lists.freedesktop.org/mailman/listinfo/xorg + +or to the Cygwin/X project: + + http://x.cygwin.com/ + +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/proto/windowswmproto + + http://cgit.freedesktop.org/xorg/proto/windowswmproto + +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 + From 7c4f6d6c2189eb677ae0c8e629096d56f86483ee Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 2 Oct 2009 20:17:03 -0700 Subject: [PATCH 15/29] Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS Signed-off-by: Alan Coopersmith --- configure.ac | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 2f908a8..51d8579 100644 --- a/configure.ac +++ b/configure.ac @@ -2,11 +2,10 @@ AC_PREREQ([2.57]) AC_INIT([WindowsWMProto], [1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) -# Require xorg-macros: XORG_CHANGELOG -m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.2) -XORG_RELEASE_VERSION -XORG_CHANGELOG +# Require xorg-macros: XORG_DEFAULT_OPTIONS +m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.3) +XORG_DEFAULT_OPTIONS AC_OUTPUT([Makefile windowswmproto.pc]) From cc6c87d9467c5c6880e7bba84580c99487febd71 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 2 Oct 2009 20:17:29 -0700 Subject: [PATCH 16/29] windowswmproto 1.0.4 Signed-off-by: Alan Coopersmith --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 51d8579..c063573 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.57]) -AC_INIT([WindowsWMProto], [1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) +AC_INIT([WindowsWMProto], [1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) # Require xorg-macros: XORG_DEFAULT_OPTIONS From 43511933b65a8e01d7a240dae332e743eb8e9450 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sat, 14 Nov 2009 18:26:47 -0500 Subject: [PATCH 17/29] .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. --- .gitignore | 84 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 74 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 75f3ae3..d51685f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,78 @@ +# +# X.Org module default exclusion patterns +# The next section if for module specific patterns +# +# Do not edit the following section +# GNU Build System (Autotools) +aclocal.m4 +autom4te.cache/ +autoscan.log +ChangeLog +compile +config.guess +config.h +config.h.in +config.log +config-ml.in +config.py +config.status +config.status.lineno +config.sub +configure +configure.scan +depcomp +.deps/ +INSTALL +install-sh +.libs/ +libtool +libtool.m4 +ltmain.sh +lt~obsolete.m4 +ltoptions.m4 +ltsugar.m4 +ltversion.m4 Makefile Makefile.in -aclocal.m4 -autom4te.cache -config.log -config.status -configure -install-sh +mdate-sh missing -windowswmproto.pc +mkinstalldirs +*.pc +py-compile +stamp-h? +symlink-tree +texinfo.tex +ylwrap + +# Do not edit the following section +# Edit Compile Debug Document Distribute *~ -windowswmproto-*.tar.* -ChangeLog -tags +*.[0-9] +*.[0-9]x +*.bak +*.bin +core +*.dll +*.exe +*-ISO*.bdf +*-JIS*.bdf +*-KOI8*.bdf +*.kld +*.ko +*.ko.cmd +*.lai +*.l[oa] +*.[oa] +*.obj +*.patch +*.so +*.pcf.gz +*.pdb +*.tar.bz2 +*.tar.gz +# +# Add & Override patterns for windowswmproto +# +# Edit the following section as needed +# For example, !report.pc overrides *.pc. See 'man gitignore' +# From 6e532b93a098c326218c1ff6ddef57831cc1047d Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 15 Nov 2009 13:55:25 -0500 Subject: [PATCH 18/29] configure.ac: AM_MAINTAINER_MODE missing #24238 This turns off maintainer mode build rules in tarballs. Works in conjunction with autogen.sh --enable-maintainer-mode --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index c063573..b7c61d6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,7 @@ AC_PREREQ([2.57]) AC_INIT([WindowsWMProto], [1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) +AM_MAINTAINER_MODE # Require xorg-macros: XORG_DEFAULT_OPTIONS m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])]) From 1f455485191d86c6fbc87d2cd19039f3ab4de82a Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 15 Nov 2009 18:11:36 -0500 Subject: [PATCH 19/29] configure.ac: 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. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b7c61d6..5a54112 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,8 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE # Require xorg-macros: XORG_DEFAULT_OPTIONS -m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])]) +m4_ifndef([XORG_MACROS_VERSION], + [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) XORG_MACROS_VERSION(1.3) XORG_DEFAULT_OPTIONS From 46b859e743b59be8525c69ff6562d2342af35628 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 15 Nov 2009 18:31:29 -0500 Subject: [PATCH 20/29] Makefile.am: INSTALL file is missing or incorrect #24206 The standard GNU file on building/installing tarball is copied using the XORG_INSTALL macro contained in XORG_DEFAULT_OPTIONS Add INSTALL target --- Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8743a62..6cae2fb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,9 +11,12 @@ EXTRA_DIST = windowswmproto.pc.in EXTRA_DIST += ChangeLog MAINTAINERCLEANFILES = ChangeLog -.PHONY: ChangeLog +.PHONY: ChangeLog INSTALL + +INSTALL: + $(INSTALL_CMD) ChangeLog: $(CHANGELOG_CMD) -dist-hook: ChangeLog +dist-hook: ChangeLog INSTALL From ca39e0eb683fc30f30dbcd0cb4cb56bbee7041d2 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 15 Nov 2009 19:45:27 -0500 Subject: [PATCH 21/29] Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 ChangeLog filename is known to Automake and requires no further coding in the makefile. --- Makefile.am | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6cae2fb..bbd4db3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,9 +8,6 @@ pkgconfig_DATA = windowswmproto.pc EXTRA_DIST = windowswmproto.pc.in -EXTRA_DIST += ChangeLog -MAINTAINERCLEANFILES = ChangeLog - .PHONY: ChangeLog INSTALL INSTALL: From e5824fa1178c64012064387be1fcbd3d1f03b59f Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 22 Nov 2009 19:24:48 -0500 Subject: [PATCH 22/29] Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES Now that the INSTALL file is generated. Allows running make maintainer-clean. --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index bbd4db3..600a57d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,8 @@ pkgconfig_DATA = windowswmproto.pc EXTRA_DIST = windowswmproto.pc.in +MAINTAINERCLEANFILES = ChangeLog INSTALL + .PHONY: ChangeLog INSTALL INSTALL: From bf80fe02457ab900f8cb292cdc2bad99dca3d7c0 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Mon, 16 Nov 2009 11:47:44 -0500 Subject: [PATCH 23/29] COPYING: Add Copyright from Apple Computer The COPYING file contains all Copyright notices from source code. Refer to windowswm.h Signed-off-by: Gaetan Nadon --- COPYING | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/COPYING b/COPYING index 7f33cbf..55a98f7 100644 --- a/COPYING +++ b/COPYING @@ -1,12 +1,23 @@ -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. +Copyright (c) 2002 Apple Computer, Inc. +All Rights Reserved. -Please submit updated COPYING files to the Xorg bugzilla: +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sub license, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: -https://bugs.freedesktop.org/enter_bug.cgi?product=xorg +The above copyright notice and this permission notice (including the +next paragraph) shall be included in all copies or substantial portions +of the Software. -All licensing questions regarding this software should be directed at the -Xorg mailing list: +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 PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -http://lists.freedesktop.org/mailman/listinfo/xorg From 20019b9f91362227ca0dc50126b18177da8387bc Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sat, 27 Mar 2010 16:35:20 -0400 Subject: [PATCH 24/29] config: remove execute permission on C source file Added in git like that in 2003. Signed-off-by: Gaetan Nadon --- windowswm.h | 0 windowswmstr.h | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 windowswm.h mode change 100755 => 100644 windowswmstr.h diff --git a/windowswm.h b/windowswm.h old mode 100755 new mode 100644 diff --git a/windowswmstr.h b/windowswmstr.h old mode 100755 new mode 100644 From 8f25f765fa368236e2df27687652af95ee13e198 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 28 Mar 2010 19:00:31 -0400 Subject: [PATCH 25/29] config: remove the pkgconfig pc.in file from EXTRA_DIST Automake always includes it in the tarball. Signed-off-by: Gaetan Nadon --- Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 600a57d..7143e0b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,6 @@ windowswm_HEADERS = \ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = windowswmproto.pc -EXTRA_DIST = windowswmproto.pc.in MAINTAINERCLEANFILES = ChangeLog INSTALL From 38afe9e3097e60e33b106af9168900792ec0510c Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sun, 28 Mar 2010 19:25:52 -0400 Subject: [PATCH 26/29] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5a54112..12a72d6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_PREREQ([2.57]) +AC_PREREQ([2.60]) AC_INIT([WindowsWMProto], [1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE From 2f473cecf3983f7f802542e92f0d91b6ff4e03db Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Sat, 26 Oct 2013 09:42:05 -0400 Subject: [PATCH 27/29] config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES Fix Automake warning: AC_OUTPUT should be used without arguments. www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files Signed-off-by: Gaetan Nadon --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 12a72d6..aca7d66 100644 --- a/configure.ac +++ b/configure.ac @@ -9,5 +9,6 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.3) XORG_DEFAULT_OPTIONS -AC_OUTPUT([Makefile +AC_CONFIG_FILES([Makefile windowswmproto.pc]) +AC_OUTPUT From af92095ea7a0b9a08ec0ed6b20de594c81d6d916 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 31 May 2014 21:38:41 -0700 Subject: [PATCH 28/29] configure: Drop AM_MAINTAINER_MODE Signed-off-by: Alan Coopersmith --- autogen.sh | 2 +- configure.ac | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 904cd67..354f254 100755 --- a/autogen.sh +++ b/autogen.sh @@ -9,4 +9,4 @@ cd $srcdir autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? -$srcdir/configure --enable-maintainer-mode "$@" +$srcdir/configure "$@" diff --git a/configure.ac b/configure.ac index aca7d66..94ff6b4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,6 @@ AC_PREREQ([2.60]) AC_INIT([WindowsWMProto], [1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) -AM_MAINTAINER_MODE # Require xorg-macros: XORG_DEFAULT_OPTIONS m4_ifndef([XORG_MACROS_VERSION], From d260141e0362484c84943c6113248d40e50dd66d Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 31 May 2014 21:39:32 -0700 Subject: [PATCH 29/29] autogen.sh: Honor NOCONFIGURE=1 See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith --- autogen.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 354f254..fc34bd5 100755 --- a/autogen.sh +++ b/autogen.sh @@ -9,4 +9,6 @@ cd $srcdir autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? -$srcdir/configure "$@" +if test -z "$NOCONFIGURE"; then + $srcdir/configure "$@" +fi