debian/0000755000000000000000000000000012263707752007201 5ustar debian/copyright0000644000000000000000000010001412217300276011115 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174 Upstream-Name: mingw-w64 Source: http://mingw-w64.sourceforge.net/ Files: * Copyright: 2009-2013 mingw-w64 project License: ZPL-2.1 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions in source code must retain the accompanying copyright notice, this list of conditions, and the following disclaimer. 2. Redistributions in binary form must reproduce the accompanying copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Names of the copyright holders must not be used to endorse or promote products derived from this software without prior written permission from the copyright holders. 4. The right to distribute this software or to use it for any purpose does not give you the right to use Servicemarks (sm) or Trademarks (tm) of the copyright holders. Use of them is covered by separate agreement with the copyright holders. 5. If any files are modified, you must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. . Disclaimer . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: mingw-w64-crt/crt/* mingw-w64-crt/include/* mingw-w64-crt/intrics/cpuid.c mingw-w64-crt/intrics/in*.c mingw-w64-crt/intrics/out*.c mingw-w64-crt/intrics/rdtsc.c mingw-w64-crt/intrics/readcr*.c mingw-w64-crt/intrics/readmsr.c mingw-w64-crt/intrics/writecr*.c mingw-w64-crt/intrics/writemsr.c mingw-w64-crt/lib32/crtdll.def mingw-w64-crt/lib64/moldname-msvcrt.def mingw-w64-crt/libsrc/agt*.c mingw-w64-crt/libsrc/cdo*.c mingw-w64-crt/libsrc/dxva-uuid.c mingw-w64-crt/libsrc/emostore_i.c mingw-w64-crt/libsrc/iisext_i.c mingw-w64-crt/libsrc/mtsadmin_i.c mingw-w64-crt/libsrc/mtxadmin_i.c mingw-w64-crt/libsrc/scard*.c mingw-w64-crt/libsrc/scrnsave.c mingw-w64-crt/libsrc/tsuserex_i.c mingw-w64-crt/math/acosf.c mingw-w64-crt/math/acosl.c mingw-w64-crt/math/asin*.c mingw-w64-crt/math/atan*.c mingw-w64-crt/math/cbrt*.c mingw-w64-crt/math/ceil*.S mingw-w64-crt/math/cephes_emath.* mingw-w64-crt/math/_chgsignl.S mingw-w64-crt/math/copysign* mingw-w64-crt/math/cosf.c mingw-w64-crt/math/cosh*.c mingw-w64-crt/math/cosl_internal.S mingw-w64-crt/math/cossin.c mingw-w64-crt/math/erfl.c mingw-w64-crt/math/exp2*.S mingw-w64-crt/math/expf.c mingw-w64-crt/math/fabs*.c mingw-w64-crt/math/fastmath.h mingw-w64-crt/math/fdim*.c mingw-w64-crt/math/floor*.S mingw-w64-crt/math/fm* mingw-w64-crt/math/fp*.c mingw-w64-crt/math/i* mingw-w64-crt/math/ldexp*.c mingw-w64-crt/math/lgamma*.c mingw-w64-crt/math/llr* mingw-w64-crt/math/log10f.c mingw-w64-crt/math/log*.S mingw-w64-crt/math/logb*.c mingw-w64-crt/math/logf.c mingw-w64-crt/math/lr*.c mingw-w64-crt/math/m* mingw-w64-crt/math/n* mingw-w64-crt/math/powf.c mingw-w64-crt/math/r* mingw-w64-crt/math/scalbn*.S mingw-w64-crt/math/signbit*.c mingw-w64-crt/math/sinf.c mingw-w64-crt/math/sinh* mingw-w64-crt/math/sinl_internal.S mingw-w64-crt/math/t* mingw-w64-crt/misc/* mingw-w64-crt/profile/mcountFunc.S mingw-w64-crt/stdio/atoll.c mingw-w64-crt/stdio/_Exit.c mingw-w64-crt/stdio/fopen64.c mingw-w64-crt/stdio/fseeko64.c mingw-w64-crt/stdio/ftello64.c mingw-w64-crt/stdio/lltoa.c mingw-w64-crt/stdio/lltow.c mingw-w64-crt/stdio/lseek64.c mingw-w64-crt/stdio/mingw_fprintfw.c mingw-w64-crt/stdio/mingw_pformatw.c mingw-w64-crt/stdio/mingw_printfw.c mingw-w64-crt/stdio/mingw_snprintfw.c mingw-w64-crt/stdio/mingw_sprintfw.c mingw-w64-crt/stdio/mingw_vfprintfw.c mingw-w64-crt/stdio/mingw_vprintfw.c mingw-w64-crt/stdio/mingw_vsnprintfw.c mingw-w64-crt/stdio/mingw_vsprintfw.c mingw-w64-crt/stdio/snprintf.c mingw-w64-crt/stdio/snwprintf.c mingw-w64-crt/stdio/strtof.c mingw-w64-crt/stdio/ulltoa.c mingw-w64-crt/stdio/ulltow.c mingw-w64-crt/stdio/v*scanf* mingw-w64-crt/stdio/vs*printf* mingw-w64-crt/stdio/wtoll.c mingw-w64-crt/testcases/tstmainc.c mingw-w64-crt/testcases/tstmaincpp.cpp mingw-w64-crt/testcases/tstmain_sys_xxx.c mingw-w64-crt/testcases/tstwassert.c mingw-w64-crt/testcases/tstwassert_win.c mingw-w64-crt/testcases/tstwinmain.c mingw-w64-headers/crt/* mingw-w64-headers/ddk/include/d3dnthal.h mingw-w64-headers/ddk/include/ddk/afilter.h mingw-w64-headers/ddk/include/ddk/atm.h mingw-w64-headers/ddk/include/ddk/csq.h mingw-w64-headers/ddk/include/ddk/d4drvif.h mingw-w64-headers/ddk/include/ddkernel.h mingw-w64-headers/ddk/include/ddk/hidclass.h mingw-w64-headers/ddk/include/ddk/ide.h mingw-w64-headers/ddk/include/ddk/ioaccess.h mingw-w64-headers/ddk/include/ddk/kbdmou.h mingw-w64-headers/ddk/include/ddk/ddkmapi.h mingw-w64-headers/ddk/include/ddk/mcd.h mingw-w64-headers/ddk/include/ddk/miniport.h mingw-w64-headers/ddk/include/ddk/minitape.h mingw-w64-headers/ddk/include/ddk/ndis*.h mingw-w64-headers/ddk/include/ddk/ntagp.h mingw-w64-headers/ddk/include/ddk/ntddk.h mingw-w64-headers/ddk/include/ddk/ntddpcm.h mingw-w64-headers/ddk/include/ddk/ntddsnd.h mingw-w64-headers/ddk/include/ddk/ntifs.h mingw-w64-headers/ddk/include/ddk/ntpoapi.h mingw-w64-headers/ddk/include/ddk/ntstrsafe.h mingw-w64-headers/ddk/include/ddk/parallel.h mingw-w64-headers/ddk/include/ddk/pfhook.h mingw-w64-headers/ddk/include/ddk/poclass.h mingw-w64-headers/ddk/include/ddk/portcls.h mingw-w64-headers/ddk/include/ddk/punknown.h mingw-w64-headers/ddk/include/ddk/scsi*.h mingw-w64-headers/ddk/include/ddk/smbus.h mingw-w64-headers/ddk/include/ddk/srb.h mingw-w64-headers/ddk/include/ddk/stdunk.h mingw-w64-headers/ddk/include/ddk/storport.h mingw-w64-headers/ddk/include/ddk/tdikrnl.h mingw-w64-headers/ddk/include/ddk/tdistat.h mingw-w64-headers/ddk/include/ddk/upssvc.h mingw-w64-headers/ddk/include/ddk/usbscan.h mingw-w64-headers/ddk/include/ddk/video*.h mingw-w64-headers/ddk/include/ddk/wdm*.h mingw-w64-headers/ddk/include/ddk/ws2san.h mingw-w64-headers/ddk/include/ddk/xfilter.h mingw-w64-headers/ddk/include/ddrawint.h mingw-w64-headers/ddk/include/dmemmgr.h mingw-w64-headers/ddk/include/dvp.h mingw-w64-headers/direct-x/include/dvdevcod.h mingw-w64-headers/direct-x/include/edevdefs.h mingw-w64-headers/direct-x/include/_mingw_dxhelper.h mingw-w64-headers/include/* mingw-w64-libraries/winpthreads/src/clock.c mingw-w64-libraries/winpthreads/src/nanosleep.c Copyright: public-domain License: public-domain This file has no copyright assigned and is placed in the Public Domain. Files: mingw-w64-crt/gdtoa/* mingw-w64-crt/stdio/mingw_pformat.c Copyright: 1997-2001 Lucent Technologies License: Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that the copyright notice and this permission notice and warranty disclaimer appear in supporting documentation, and that the name of Lucent or any of its entities not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. . LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: mingw-w64-crt/gdtoa/qnan.c mingw-w64-crt/gdtoa/strtodnrp.c Copyright: 2004, 2005 David M. Gay 1998, 2000 Lucent Technologies License: Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that the copyright notice and this permission notice and warranty disclaimer appear in supporting documentation, and that the name of the author or any of his current or former employers not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. . THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR OR ANY OF HIS CURRENT OR FORMER EMPLOYERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: mingw-w64-crt/math/s_erf.c mingw-w64-crt/math/sf_erf.c Copyright: 1993 Sun Microsystems, Inc. License: Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved. Files: mingw-w64-crt/misc/basename.c mingw-w64-crt/misc/dirname.c mingw-w64-crt/stdio/mingw_fprintf.c mingw-w64-crt/stdio/mingw_pformat.* mingw-w64-crt/stdio/mingw_printf.c mingw-w64-crt/stdio/mingw_snprintf.c mingw-w64-crt/stdio/mingw_sprintf.c mingw-w64-crt/stdio/mingw_vfprintf.c mingw-w64-crt/stdio/mingw_vprintf.c mingw-w64-crt/stdio/mingw_vsnprintf.c mingw-w64-crt/stdio/mingw_vsprintf.c Copyright: Keith Marshall License: This is free software. You may redistribute and/or modify it as you see fit, without restriction of copyright. . This software is provided "as is", in the hope that it may be useful, but WITHOUT WARRANTY OF ANY KIND, not even any implied warranty of MERCHANTABILITY, nor of FITNESS FOR ANY PARTICULAR PURPOSE. At no time will the author accept any form of liability for any damages, however caused, resulting from the use of this software. Files: mingw-w64-crt/misc/getopt.c Copyright: 2000 The NetBSD Foundation, Inc. License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: mingw-w64-crt/misc/getopt.c Copyright: 2002 Todd C. Miller License: Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: mingw-w64-crt/profile/gcrt0.c mingw-w64-crt/profile/profil.* Copyright: 1998-2002 Red Hat, Inc. License: Cygwin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation; either version 2 of the License, 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 St, Fifth Floor, Boston, MA 02110-1301, USA. . *** NOTE *** . In accordance with section 10 of the GPL, Red Hat permits programs whose sources are distributed under a license that complies with the Open Source definition to be linked with libcygwin.a without libcygwin.a itself causing the resulting program to be covered by the GNU GPL. . This means that you can port an Open Source(tm) application to cygwin, and distribute that executable as if it didn't include a copy of libcygwin.a linked into it. Note that this does not apply to the cygwin DLL itself. If you distribute a (possibly modified) version of the DLL you must adhere to the terms of the GPL, i.e. you must provide sources for the cygwin DLL. . See http://www.opensource.org/docs/definition_plain.html for the precise Open Source Definition referenced above. . Red Hat sells a special Cygwin License for customers who are unable to provide their application in open source code form. For more information, please see: http://www.redhat.com/software/tools/cygwin/, or call 866-2REDHAT ext. 3007 Files: mingw-w64-crt/profile/gmon.* mingw-w64-crt/profile/mcount.c Copyright: 1983, 1992, 1993 The Regents of the University of California License: BSD Files: mingw-w64-headers/crt/stdarg.h Copyright: 1989, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. License: GPL-2+ Files: mingw-w64-headers/ddk/include/ddk/csq.h Copyright: 2004 Vizzini (vizzini@plasmic.com) License: THIS SOFTWARE IS NOT COPYRIGHTED . This source code is offered for use in the public domain. You may use, modify or distribute it freely. . This code is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY DISCLAIMED. This includes but is not limited to warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Files: mingw-w64-headers/ddk/include/ddk/d3dhal.h mingw-w64-headers/ddk/include/ddk/ddrawi.h mingw-w64-headers/direct-x/include/d3dhal.h mingw-w64-headers/direct-x/include/d3dvec.inl mingw-w64-headers/direct-x/include/ddrawi.h mingw-w64-headers/direct-x/include/dsdriver.h Copyright: 2000, 2001 Ove Kaaven License: LGPL-2.1+ Files: mingw-w64-headers/ddk/include/ddk/imm.h Copyright: 2007 CodeWeavers, Aric Stewart License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/amaudio.h Copyright: 2010 Maarten Lankhorst for CodeWeavers License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/amstream.idl mingw-w64-headers/direct-x/include/austream.idl mingw-w64-headers/direct-x/include/d3dx9effect.h mingw-w64-headers/direct-x/include/d3dx9shape.h mingw-w64-headers/direct-x/include/ddstream.idl mingw-w64-headers/direct-x/include/dxfile.h mingw-w64-headers/direct-x/include/evcode.h mingw-w64-headers/direct-x/include/mmstream.idl Copyright: 2004, 2010 Christian Costa License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/amvideo.idl mingw-w64-headers/include/ax*.idl Copyright: 2002, 2003 Robert Shearman License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/audevcod.h mingw-w64-headers/direct-x/include/dmo.h mingw-w64-headers/direct-x/include/dmoreg.h mingw-w64-headers/direct-x/include/dmort.h mingw-w64-headers/direct-x/include/dshow.h mingw-w64-headers/direct-x/include/mediaerr.h mingw-w64-headers/direct-x/include/vfwmsgs.h Copyright: 2002 Alexandre Julliard License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3d10_1.idl mingw-w64-headers/include/objectarray.idl mingw-w64-headers/include/optary.idl mingw-w64-headers/include/uiautomation* mingw-w64-headers/include/urlhist.idl mingw-w64-headers/include/wpcapi.idl Copyright: 2006, 2010, 2011, 2012 Jacek Caban for CodeWeavers License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3d10_1shader.h Copyright: 2010 Rico Schüller License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3d10effect.h mingw-w64-headers/direct-x/include/d3d10misc.h mingw-w64-headers/direct-x/include/d3d10shader.h Copyright: 2008, 2009 Henri Verbeet for CodeWeavers License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3d10.idl Copyright: 2007 Andras Kovacs License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3d11.idl Copyright: 2010 Rico Schüller 2013 Austin English License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3d11shader.h mingw-w64-headers/direct-x/include/d3dcommon.idl mingw-w64-headers/direct-x/include/d3dcompiler.h Copyright: 2010 Matteo Bruni for CodeWeavers License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3d8.h mingw-w64-headers/direct-x/include/d3d8caps.h mingw-w64-headers/direct-x/include/d3d8types.h Copyright: 2002-2003 Jason Edmeades License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3d9caps.h mingw-w64-headers/direct-x/include/d3d9.h Copyright: 2002-2003 Jason Edmeades Raphael Junqueria License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3d9types.h Copyright: 2002-2003 Jason Edmeades 2002-2003 Raphael Junqueria 2005 Oliver Steiber License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3d.h mingw-w64-headers/direct-x/include/ddraw.h mingw-w64-headers/direct-x/include/dinput.h mingw-w64-headers/direct-x/include/dplay.h mingw-w64-headers/direct-x/include/dsound.h Copyright: the Wine project License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3drmdef.h Copyright: 2007, 2010 Vijay Kiran Kamuju 2007 David Adam 2010 Christian Costa License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3drm.h Copyright: 2005 Peter Berg Larsen 2010 Christian Costa License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3drmobj.h Copyright: 2008 Vijay Kiran Kamuju 2010 Christian Costa License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3dtypes.h mingw-w64-headers/direct-x/include/d3dcaps.h mingw-w64-headers/direct-x/include/dplobby.h Copyright: 1999, 2000 Peter Hunnisett License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3dx8core.h mingw-w64-headers/direct-x/include/dpaddr.h mingw-w64-headers/direct-x/include/dplay8.h mingw-w64-headers/direct-x/include/dplobby8.h mingw-w64-headers/direct-x/include/dxdiag.h Copyright: 2002-2005 Raphael Junqueira License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3dx9.h Copyright: 2007 David Adam License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3dx9math.* mingw-w64-headers/direct-x/include/d3dx9mesh.h Copyright: 2007 David Adam 2007 Tony Wasserka License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3dx9shader.h Copyright: 2008 Luis Busquets License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3dxanim.h mingw-w64-headers/direct-x/include/d3dx9xof.h Copyright: 2011 Dylan Smith License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/d3dxcore.h mingw-w64-headers/direct-x/include/d3dx9tex.h Copyright: 2007, 2008 Tony Wasserka License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/dls1.h mingw-w64-headers/direct-x/include/dls2.h mingw-w64-headers/direct-x/include/dmdls.h mingw-w64-headers/direct-x/include/dmerror.h mingw-w64-headers/direct-x/include/dmplugin.h mingw-w64-headers/direct-x/include/dmusbuff.h mingw-w64-headers/direct-x/include/dmusicc.h mingw-w64-headers/direct-x/include/dmusicf.h mingw-w64-headers/direct-x/include/dmusici.h mingw-w64-headers/direct-x/include/dmusics.h Copyright: 2003-2004 Rok Mandeljc License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/dmodshow.idl mingw-w64-headers/direct-x/include/medparam.idl mingw-w64-headers/direct-x/include/qnetwork.idl Copyright: 2007 Shane King License: LGPL-2+ Files: mingw-w64-headers/direct-x/include/dplobby.h Copyright: 1999 Francois Gouget 1999 Peter Hunnisett License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/dpnathlp.h mingw-w64-headers/direct-x/include/dvdmedia.h mingw-w64-headers/direct-x/include/vmr9.idl Copyright: 2006, 2008 Maarten Lankhorst License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/dsconf.h mingw-w64-headers/direct-x/include/dxerr8.h mingw-w64-headers/direct-x/include/dxerr9.h Copyright: 2003, 2004 Robert Reif License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/dxgiformat.h mingw-w64-headers/direct-x/include/dxgi.idl Copyright: 2007 Andras Kovacs License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/errors.h Copyright: 2006 Hans Leideker License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/mediaobj.idl Copyright: 2002 Alexandre Julliard 2004 Vincent Béron License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/qedit.idl Copyright: 2008 Google (Lei Zhang) License: LGPL-2.1+ Files: mingw-w64-headers/direct-x/include/xinput.h Copyright: 2008 Andrew Fenn License: LGPL-2.1+ Files: mingw-w64-headers/include/GL/* Copyright: 2013 The Khronos Group Inc. License: expat Files: mingw-w64-headers/include/audioclient.idl mingw-w64-headers/include/audiopolicy.idl mingw-w64-headers/include/devicetopology.idl mingw-w64-headers/include/endpointvolume.idl mingw-w64-headers/include/mmdeviceapi.idl mingw-w64-headers/include/propkeydef.h mingw-w64-headers/include/propsys.idl mingw-w64-headers/include/structuredquerycondition.idl Copyright: 2009 Maarten Lankhorst License: LGPL-2.1+ Files: mingw-w64-headers/include/corerror.h mingw-w64-headers/include/fusion.idl Copyright: 2008 James Hawkins License: LGPL-2.1+ Files: mingw-w64-headers/include/ctfutb.idl Copyright: 2010 Justin Chevrier License: LGPL-2.1+ Files: mingw-w64-headers/include/downloadmgr.idl Copyright: 2005 Jacek Caban License: LGPL-2.1+ Files: mingw-w64-headers/include/knownfolders.h Copyright: 2010 Hans Leidekker for CodeWeavers License: LGPL-2.1+ Files: mingw-w64-headers/include/mscat.h mingw-w64-headers/include/rpcsal.h mingw-w64-headers/include/winhttp.h mingw-w64-headers/include/winineti.h Copyright: 2004, 2007, 2011 Francois Gouget License: LGPL-2.1+ Files: mingw-w64-headers/include/mscoree.idl Copyright: 2007 Francois Gouget 2008 Alistair Leslie-Hughes License: LGPL-2.1+ Files: mingw-w64-headers/include/profile.h Copyright: 1992, 1993 The Regents of the University of California License: BSD Files: mingw-w64-headers/include/propkey.h Copyright: 2010 Maarten Lankhorst for CodeWeavers License: LGPL-2.1+ Files: mingw-w64-headers/include/propvarutil.h Copyright: 2008 James Hawkins for CodeWeavers License: LGPL-2.1+ Files: mingw-w64-headers/include/t2embapi.h Copyright: 2009 Andrew Nguyen License: LGPL-2.1+ Files: mingw-w64-headers/include/textstor.idl Copyright: 2009 Aric Stewart, CodeWeavers License: LGPL-2.1+ Files: mingw-w64-headers/include/wincodec.idl Copyright: 2009 Vincent Povirk for CodeWeavers License: LGPL-2.1+ Files: mingw-w64-headers/include/winddiui.h Copyright: 2007 Marcel Partap License: LGPL-2.1+ Files: mingw-w64-headers/include/xmllite.idl Copyright: 2010 Nikolay Sivov License: LGPL-2.1+ Files: mingw-w64-libraries/libmangle/* Copyright: 2009, 2010 mingw-w64 project License: expat Files: mingw-w64-libraries/pseh/* Copyright: 2004/2005, 2008, 2009, 2010 KJK::Hyperion License: expat Files: mingw-w64-libraries/winpthreads/* Copyright: 2011-2013 mingw-w64 project License: expat Files: mingw-w64-libraries/winpthreads/* Copyright: 2010 Lockless Inc. License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Lockless Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AN ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c Copyright: 1992, 1993 The Regents of the University of California License: BSD Files: mingw-w64-libraries/winpthreads/tests_pthread/* Copyright: 1998 John E. Bossom 1999, 2005 Pthreads-win32 contributors License: LGPL-2+ Files: mingw-w64-libraries/winstorecompat/* Copyright: 2013 mingw-w64 project License: expat Files: mingw-w64-tools/gendef/* Copyright: 2009-2013 mingw-w64 project License: GPL-3+ Files: mingw-w64-tools/genidl/* Copyright: 2009-2013 mingw-w64 project License: GPL-3+ Files: mingw-w64-tools/genpeimg/* Copyright: 2009-2013 mingw-w64 project License: GPL-3+ Files: mingw-w64-tools/widl/* Copyright: 1996, 2000, 2002, 2010 Alexandre Julliard 1998-2000 Bertho A. Stultiens 1999 Corel Corporation 1999 Patrick Stridvall 1999 Rein Klazes 2001-2003 Jon Griffiths 2002, 2004 Ove Kaaven 2004 Alastair Bridgewater 2004 Mike McCormack 2004, 2005 Huw Davies 2005-2006 Eric Kohl 2005-2008 Robert Shearman 2006 Jacek Caban for CodeWeavers The Wine project License: LGPL-2.1+ Files: mingw-w64-tools/widl/src/port/getopt*.c Copyright: 1987-2002 Free Software Foundation, Inc. License: LGPL-2.1+ Files: mingw-w64-tools/widl/src/port/port.c Copyright: 1991, 1992, 1996, 1998 Free Software Foundation, Inc. License: LGPL-2+ Files: debian/* Copyright: 2009, 2010 Robert Millan 2010-2013 Stephen Kitt License: GPL-2+ Files: debian/*widl.1 Copyright: 1993-2013 The Wine project authors License: LGPL-2.1+ License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: LGPL-2+ On Debian systems the full text of the GNU Library General Public License Version 2 can be found in the `/usr/share/common-licenses/LGPL-2' file. License: LGPL-2.1+ On Debian systems the full text of the GNU Lesser General Public License Version 2.1 can be found in the `/usr/share/common-licenses/LGPL-2.1' file. License: GPL-2+ On Debian systems the full text of the GNU General Public License Version 2 can be found in the `/usr/share/common-licenses/GPL-2' file. License: GPL-3+ On Debian systems the full text of the GNU General Public License Version 3 can be found in the `/usr/share/common-licenses/GPL-3' file. License: expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/watch0000644000000000000000000000030412161257205010215 0ustar # Watch control file for uscan # See uscan(1) for format version=3 opts=uversionmangle=s/\.([^.]*)$/+$1/;s/\+$//;s/.rc/~rc/ \ http://sf.net/mingw-w64/mingw-w64-v(.*)(?:-snapshot-|)(.*)\.tar\..* debian/mingw-w64-x86-64-dev.install0000644000000000000000000000002712161257205013743 0ustar usr/x86_64-w64-mingw32 debian/mingw-w64-x86-64-dev.lintian-overrides0000644000000000000000000000040312161257205015731 0ustar # This is normal, we're shipping cross-compiling libraries mingw-w64-x86-64-dev: arch-independent-package-contains-binary-or-object # For now files are in /usr/${target} mingw-w64-x86-64-dev: file-in-unusual-dir mingw-w64-x86-64-dev: non-standard-dir-in-usr debian/x86_64-w64-mingw32-widl.10000644000000000000000000001234212217300341013040 0ustar .TH WIDL 1 "October 2007" "MinGW-w64" "Wine Developers Manual" .SH NAME widl \- Wine Interface Definition Language (IDL) compiler .SH SYNOPSIS .B widl [\fIoptions\fR] \fIIDL_file\fR .br .B widl [\fIoptions\fR] \fB--dlldata-only\fR \fIname1\fR [\fIname2\fR...] .SH DESCRIPTION When no options are used the program will generate a header file, and possibly client and server stubs, proxy and dlldata files, a typelib, and a UUID file, depending on the contents of the IDL file. If any of the options \fB-c\fR, \fB-h\fR, \fB-p\fR, \fB-s\fR, \fB-t\fR, \fB-u\fR or \fB--local-stubs\fR is given, .B widl will only generate the requested files, and no others. When run with \fB--dlldata-only\fR, widl will only generate a dlldata file, and it will contain a list of the names passed as arguments. Usually the way this file is updated is that each time .B widl is run, it reads any existing dlldata file, and if necessary regenerates it with the same list of names, but with the present proxy file included. .PP When run without any arguments, .B widl will print a help message. .PP .SH OPTIONS .PP .B General options: .IP "\fB-V\fR" Print version number and exit. .IP "\fB-o, --output=\fIname" Set the name of the output file. When generating multiple output files, this sets only the base name of the file; the respective output files are then named \fIname\fR.h, \fIname\fR_p.c, etc. .IP "\fB-b \fIcpu-manufacturer\fR[\fB-\fIkernel\fR]\fB-\fIos\fR" Set the target architecture when cross-compiling. The target specification is in the standard autoconf format as returned by \fBconfig.sub\fR. .PP .B Header options: .IP "\fB-h\fR" Generate header files. The default output filename is \fIinfile\fB.h\fR. .IP "\fB--oldnames\fR" Use old naming conventions. .PP .B Type library options: .IP \fB-t\fR Generate a type library. The default output filename is \fIinfile\fB.tlb\fR. If the output file name ends in \fB.res\fR, a binary resource file containing the type library is generated instead. .IP "\fB-m32, -m64\fR" Generate a Win32 or Win64 type library respectively. .PP .B UUID file options: .IP "\fB-u\fR" Generate a UUID file. The default output filename is \fIinfile\fB_i.c\fR. .PP .B Proxy/stub generation options: .IP "\fB-c\fR" Generate a client stub file. The default output filename is \fIinfile\fB_c.c\fR. .IP "\fB-Os\fR" Generate inline stubs. .IP "\fB-Oi\fR" Generate old-style interpreted stubs. .IP "\fB-Oif, -Oic, -Oicf\fR" Generate new-style fully interpreted stubs. .IP "\fB-p\fR" Generate a proxy. The default output filename is \fIinfile\fB_p.c\fR. .IP "\fB--prefix-all=\fIprefix\fR" Prefix to put on the name of both client and server stubs. .IP "\fB--prefix-client=\fIprefix\fR" Prefix to put on the name of client stubs. .IP "\fB--prefix-server=\fIprefix\fR" Prefix to put on the name of server stubs. .IP "\fB-s\fR" Generate a server stub file. The default output filename is \fIinfile\fB_s.c\fR. .IP "\fB--win32\fR, \fB--win64\fR" Only generate 32-bit or 64-bit code respectively (the default is to generate both 32-bit and 64-bit versions into the same destination file). .PP .IP "\fB--rt\fR" Enable additional language extensions for IDL to support WinRT. .PP .B Registration script options: .IP "\fB-r\fR" Generate a registration script. The default output filename is \fIinfile\fB_r.rgs\fR. If the output file name ends in \fB.res\fR, a binary resource file containing the script is generated instead. .PP .B Dlldata file options: .IP "\fB--dlldata-only\fI name1 \fR[\fIname2\fR...]" Regenerate the dlldata file from scratch using the specified proxy names. The default output filename is \fBdlldata.c\fR. .PP .B Preprocessor options: .IP "\fB-I \fIpath\fR" Add a header search directory to path. Multiple search directories are allowed. .IP "\fB-D \fIid\fR[\fB=\fIval\fR]" Define preprocessor macro \fIid\fR with value \fIval\fR. .IP "\fB-E\fR" Preprocess only. .IP "\fB-N\fR" Do not preprocess input. .PP .B Debug options: .IP "\fB-W\fR" Enable pedantic warnings. .IP "\fB-d \fIn\fR" Set debug level to the non negative integer \fIn\fR. If prefixed with \fB0x\fR, it will be interpreted as an hexadecimal number. For the meaning of values, see the \fBDEBUG\fR section. .PP .B Miscellaneous options: .IP "\fB-app_config\fR" Ignored, present for midl compatibility. .IP "\fB--local-stubs=\fIfile\fR" Generate empty stubs for call_as/local methods in an object interface and write them to \fIfile\fR. .PP .SH DEBUG Debug level \fIn\fR is a bitmask with the following meaning: * 0x01 Tell which resource is parsed (verbose mode) * 0x02 Dump internal structures * 0x04 Create a parser trace (yydebug=1) * 0x08 Preprocessor messages * 0x10 Preprocessor lex messages * 0x20 Preprocessor yacc trace .SH BUGS Bugs can be reported on the .UR http://bugs.winehq.org .B Wine bug tracker .UE . .SH AUTHORS .B widl was originally written by Ove Kåven. It has been improved by Rob Shearman, Dan Hipschman, and others. For a complete list, see the git commit logs. This man page was originally written by Hannu Valtonen and then updated by Dan Hipschman. .SH AVAILABILITY .B widl is part of the Wine distribution, which is available through WineHQ, the .UR http://www.winehq.org/ .B Wine development headquarters .UE . .SH "SEE ALSO" .UR http://www.winehq.org/help .B Wine documentation and support .UE . debian/mingw-w64-i686-dev.install0000644000000000000000000000002512161257205013561 0ustar usr/i686-w64-mingw32 debian/gbp.conf0000644000000000000000000000012512162002446010600 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True debian/mingw-w64-i686-dev.lintian-overrides0000644000000000000000000000037512161257205015561 0ustar # This is normal, we're shipping cross-compiling libraries mingw-w64-i686-dev: arch-independent-package-contains-binary-or-object # For now files are in /usr/${target} mingw-w64-i686-dev: file-in-unusual-dir mingw-w64-i686-dev: non-standard-dir-in-usr debian/gendef.10000644000000000000000000000314012161257205010477 0ustar .TH gendef 1 "Oct 6, 2011" gendef .SH NAME gendef \- DLL export extractor .SH SYNOPSIS .BR gendef .RI "[" options "] <" DLL ">" .SH DESCRIPTION .B gendef dumps DLL export information from 32- and 64-bit Windows executables (respectively PE32 and PE32+ executables). .SH OPTIONS .TP .BR \- Dump to stdout .TP .BR \-h ", " \-\-help Briefly describe the syntax and options. .TP .BR \-a ", " \-\-assume\-stdcall Assume functions with ambiguous calling conventions use stdcall. .TP .BR \-I ", " \-\-include\-def\-path " <" \fIpath\fP > Add additional search paths in which to look for hint .def files. .TP .BR \-f ", " \-\-no\-forward\-output Don't output forwarders. .SH OUTPUT By default .B gendef writes the DLL export information to a file named after the DLL, replacing .dll with .def. .SH KNOWN ISSUES For 32-bit DLLs, \fBgendef\fP cannot detect if a function with no return value (void) exported by a DLL uses stdcall or cdecl. Two workarounds are available: either use the "\fI\-a\fP" option to force stdcall calling conventions, or generate .def files for any DLLs the DLL you're interested in depends upon. \fBgendef\fP will read other .def files found in the working directory to determine the calling convention in use. .PP 64-bit DLLs are not affected, since they only use a single calling convention. .SH SEE ALSO \fBgenidl\fP(1) .SH AUTHORS .B gendef was written by Kai Tietz and Jonathan Yong of the MinGW-w64 project. .PP This manual page was written by Stephen Kitt , based on information provided with the program and in the project's wiki, for the Debian GNU/Linux system (but may be used by others). debian/genidl.10000644000000000000000000000157612161257205010524 0ustar .TH genidl 1 "Oct 6, 2011" genidl .SH NAME genidl \- Windows typelib information extractor .SH SYNOPSIS .BR genidl .RI "[" options "] <" file ">" .SH DESCRIPTION .B genidl dumps IDL information found in typelib data present in 32- and 64-bit Windows executables and TLB files. .SH OPTIONS .TP .BR \-h ", " \-\-help Briefly describe the syntax and options. .TP .BR \-b " <" \fIarg\fP ">, " \-\-basedumpname= < \fIarg\fP > Use \fIarg\fP as prefix of generated .idl files. .TP .BR \-H ", " \-\-header Generate a header. .TP .BR \-d ", " \-\-dump Dump additional debugging information. .TP .BR \-v ", " \-\-verbose Show additional status information. .SH SEE ALSO \fBgendef\fP(1) .SH AUTHORS .B genidl was written by Kai Tietz and Jonathan Yong of the MinGW-w64 project. .PP This manual page was written by Stephen Kitt for the Debian GNU/Linux system (but may be used by others). debian/patches/0000755000000000000000000000000012263707026010622 5ustar debian/patches/libvfw32.patch0000644000000000000000000000067112263707026013305 0ustar Description: Provide libvfw32.a in 32-bit builds Author: Stephen Kitt --- a/mingw-w64-crt/lib32/Makefile.am +++ b/mingw-w64-crt/lib32/Makefile.am @@ -263,6 +263,7 @@ lib32_DATA += %reldir%/libversion.a lib32_DATA += %reldir%/libvideoprt.a lib32_DATA += %reldir%/libvirtdisk.a +lib32_DATA += %reldir%/libvfw32.a lib32_DATA += %reldir%/libvss_ps.a lib32_DATA += %reldir%/libvssapi.a lib32_DATA += %reldir%/libvsstrace.a debian/patches/disable-werror.patch0000644000000000000000000000176112161257222014564 0ustar Description: Disable -Werror to avoid toolchain changes introducing FTBFS bugs Author: Stephen Kitt --- mingw-w64.orig/mingw-w64-tools/gendef/Makefile.am +++ mingw-w64/mingw-w64-tools/gendef/Makefile.am @@ -4,7 +4,7 @@ gendef_SOURCES = src/gendef.h src/compat_string.h src/gendef.c src/gendef_def.c src/compat_string.c \ src/fsredir.c src/fsredir.h -gendef_CFLAGS = $(AM_CFLAGS) -O3 -g -Werror -Wall -Wextra +gendef_CFLAGS = $(AM_CFLAGS) -O3 -g -Wall -Wextra EXTRA_DIST = $(srcdir)/ChangeLog* DISTCHECK_CONFIGURE_FLAGS = --host=$(host) --with-mangle=@with_mangle@ --- mingw-w64.orig/mingw-w64-tools/genpeimg/Makefile.am +++ mingw-w64/mingw-w64-tools/genpeimg/Makefile.am @@ -1,6 +1,6 @@ bin_PROGRAMS = genpeimg genpeimg_SOURCES = src/img.h src/img.c src/img_pe.c src/genpeimg.c genpeimg_CPPFLAGS = -Isrc -genpeimg_CFLAGS = $(AM_CFLAGS) -O3 -g -Werror -Wall -Wextra +genpeimg_CFLAGS = $(AM_CFLAGS) -O3 -g -Wall -Wextra DISTCHECK_CONFIGURE_FLAGS = --host=$(host) debian/patches/missing-cpu-info.patch0000644000000000000000000000210212161257222015020 0ustar Description: Add missing CPU information (ia64, s390, s390x) Author: Stephen Kitt Based on http://wiki.debian.org/ArchitectureSpecificsMemo --- mingw-w64.orig/mingw-w64-tools/widl/include/basetsd.h +++ mingw-w64/mingw-w64-tools/widl/include/basetsd.h @@ -36,7 +36,7 @@ * 64-bit. */ -#if (defined(__x86_64__) || defined(__powerpc64__) || defined(__sparc64__) || defined(__aarch64__)) && !defined(_WIN64) +#if (defined(__x86_64__) || defined(__powerpc64__) || defined(__sparc64__) || defined(__aarch64__) || defined(__ia64__) || defined(__s390x__)) && !defined(_WIN64) #define _WIN64 #endif @@ -313,6 +313,14 @@ # undef WORDS_BIGENDIAN # undef BITFIELDS_BIGENDIAN # undef ALLOW_UNALIGNED_ACCESS +#elif defined(__ia64__) +# undef WORDS_BIGENDIAN +# undef BITFIELDS_BIGENDIAN +# undef ALLOW_UNALIGNED_ACCESS +#elif defined(__s390__) || defined(__s390x__) +# define WORDS_BIGENDIAN +# define BITFIELDS_BIGENDIAN +# define ALLOW_UNALIGNED_ACCESS #elif !defined(RC_INVOKED) && !defined(__WIDL__) && !defined(__midl) # error Unknown CPU architecture! #endif debian/patches/widl-no-context.patch0000644000000000000000000010237712213172657014711 0ustar Description: Drop unused platform-specific context definitions Author: Stephen Kitt --- a/mingw-w64-tools/widl/include/winbase.h +++ b/mingw-w64-tools/widl/include/winbase.h @@ -150,13 +150,6 @@ } u; } DEBUG_EVENT, *LPDEBUG_EVENT; -typedef PCONTEXT LPCONTEXT; -typedef PEXCEPTION_RECORD LPEXCEPTION_RECORD; -typedef PEXCEPTION_POINTERS LPEXCEPTION_POINTERS; - -typedef LONG (CALLBACK *PTOP_LEVEL_EXCEPTION_FILTER)(PEXCEPTION_POINTERS); -typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER; - #define OFS_MAXPATHNAME 128 typedef struct _OFSTRUCT { @@ -1402,7 +1395,6 @@ WINADVAPI BOOL WINAPI AddAuditAccessAce(PACL,DWORD,DWORD,PSID,BOOL,BOOL); WINADVAPI BOOL WINAPI AddAuditAccessAceEx(PACL,DWORD,DWORD,DWORD,PSID,BOOL,BOOL); WINBASEAPI VOID WINAPI AddRefActCtx(HANDLE); -WINBASEAPI PVOID WINAPI AddVectoredExceptionHandler(ULONG,PVECTORED_EXCEPTION_HANDLER); WINADVAPI BOOL WINAPI AdjustTokenGroups(HANDLE,BOOL,PTOKEN_GROUPS,DWORD,PTOKEN_GROUPS,PDWORD); WINADVAPI BOOL WINAPI AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL); WINADVAPI BOOL WINAPI AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL); @@ -1873,7 +1865,6 @@ WINBASEAPI DWORD WINAPI GetTickCount(void); WINBASEAPI ULONGLONG WINAPI GetTickCount64(void); WINBASEAPI DWORD WINAPI GetTimeZoneInformation(LPTIME_ZONE_INFORMATION); -WINBASEAPI BOOL WINAPI GetThreadContext(HANDLE,CONTEXT *); WINBASEAPI DWORD WINAPI GetThreadErrorMode(void); WINBASEAPI INT WINAPI GetThreadPriority(HANDLE); WINBASEAPI BOOL WINAPI GetThreadPriorityBoost(HANDLE,PBOOL); @@ -2218,7 +2209,6 @@ WINBASEAPI DWORD WINAPI SetTapeParameters(HANDLE,DWORD,LPVOID); WINBASEAPI DWORD WINAPI SetTapePosition(HANDLE,DWORD,DWORD,DWORD,DWORD,BOOL); WINBASEAPI DWORD_PTR WINAPI SetThreadAffinityMask(HANDLE,DWORD_PTR); -WINBASEAPI BOOL WINAPI SetThreadContext(HANDLE,const CONTEXT *); WINBASEAPI BOOL WINAPI SetThreadErrorMode(DWORD,LPDWORD); WINBASEAPI DWORD WINAPI SetThreadExecutionState(EXECUTION_STATE); WINBASEAPI DWORD WINAPI SetThreadIdealProcessor(HANDLE,DWORD); @@ -2228,7 +2218,6 @@ WINBASEAPI HANDLE WINAPI SetTimerQueueTimer(HANDLE,WAITORTIMERCALLBACK,PVOID,DWORD,DWORD,BOOL); WINBASEAPI BOOL WINAPI SetTimeZoneInformation(const TIME_ZONE_INFORMATION *); WINADVAPI BOOL WINAPI SetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,LPVOID,DWORD); -WINBASEAPI LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER); WINBASEAPI BOOL WINAPI SetVolumeLabelA(LPCSTR,LPCSTR); WINBASEAPI BOOL WINAPI SetVolumeLabelW(LPCWSTR,LPCWSTR); #define SetVolumeLabel WINELIB_NAME_AW(SetVolumeLabel) --- a/mingw-w64-tools/widl/include/winnt.h +++ b/mingw-w64-tools/widl/include/winnt.h @@ -874,86 +874,6 @@ /* The Win32 register context */ -/* i386 context definitions */ -#ifdef __i386__ - -#define SIZE_OF_80387_REGISTERS 80 - -typedef struct _FLOATING_SAVE_AREA -{ - DWORD ControlWord; - DWORD StatusWord; - DWORD TagWord; - DWORD ErrorOffset; - DWORD ErrorSelector; - DWORD DataOffset; - DWORD DataSelector; - BYTE RegisterArea[SIZE_OF_80387_REGISTERS]; - DWORD Cr0NpxState; -} FLOATING_SAVE_AREA, *PFLOATING_SAVE_AREA; - -#define MAXIMUM_SUPPORTED_EXTENSION 512 - -typedef struct _CONTEXT -{ - DWORD ContextFlags; - - /* These are selected by CONTEXT_DEBUG_REGISTERS */ - DWORD Dr0; - DWORD Dr1; - DWORD Dr2; - DWORD Dr3; - DWORD Dr6; - DWORD Dr7; - - /* These are selected by CONTEXT_FLOATING_POINT */ - FLOATING_SAVE_AREA FloatSave; - - /* These are selected by CONTEXT_SEGMENTS */ - DWORD SegGs; - DWORD SegFs; - DWORD SegEs; - DWORD SegDs; - - /* These are selected by CONTEXT_INTEGER */ - DWORD Edi; - DWORD Esi; - DWORD Ebx; - DWORD Edx; - DWORD Ecx; - DWORD Eax; - - /* These are selected by CONTEXT_CONTROL */ - DWORD Ebp; - DWORD Eip; - DWORD SegCs; - DWORD EFlags; - DWORD Esp; - DWORD SegSs; - - BYTE ExtendedRegisters[MAXIMUM_SUPPORTED_EXTENSION]; -} CONTEXT; - -#define CONTEXT_X86 0x00010000 -#define CONTEXT_i386 CONTEXT_X86 -#define CONTEXT_i486 CONTEXT_X86 - -#define CONTEXT_CONTROL (CONTEXT_i386 | 0x0001) /* SS:SP, CS:IP, FLAGS, BP */ -#define CONTEXT_INTEGER (CONTEXT_i386 | 0x0002) /* AX, BX, CX, DX, SI, DI */ -#define CONTEXT_SEGMENTS (CONTEXT_i386 | 0x0004) /* DS, ES, FS, GS */ -#define CONTEXT_FLOATING_POINT (CONTEXT_i386 | 0x0008) /* 387 state */ -#define CONTEXT_DEBUG_REGISTERS (CONTEXT_i386 | 0x0010) /* DB 0-3,6,7 */ -#define CONTEXT_EXTENDED_REGISTERS (CONTEXT_i386 | 0x0020) -#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS) -#define CONTEXT_ALL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS | \ - CONTEXT_FLOATING_POINT | CONTEXT_DEBUG_REGISTERS | CONTEXT_EXTENDED_REGISTERS) - -#define EXCEPTION_READ_FAULT 0 -#define EXCEPTION_WRITE_FAULT 1 -#define EXCEPTION_EXECUTE_FAULT 8 - -#endif /* __i386__ */ - typedef struct _LDT_ENTRY { WORD LimitLow; WORD BaseLow; @@ -979,1051 +899,6 @@ } HighWord; } LDT_ENTRY, *PLDT_ENTRY; -/* x86-64 context definitions */ -#if defined(__x86_64__) - -#define CONTEXT_AMD64 0x00100000 - -#define CONTEXT_CONTROL (CONTEXT_AMD64 | 0x0001) -#define CONTEXT_INTEGER (CONTEXT_AMD64 | 0x0002) -#define CONTEXT_SEGMENTS (CONTEXT_AMD64 | 0x0004) -#define CONTEXT_FLOATING_POINT (CONTEXT_AMD64 | 0x0008) -#define CONTEXT_DEBUG_REGISTERS (CONTEXT_AMD64 | 0x0010) -#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_FLOATING_POINT) -#define CONTEXT_ALL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS | CONTEXT_FLOATING_POINT | CONTEXT_DEBUG_REGISTERS) - -#define EXCEPTION_READ_FAULT 0 -#define EXCEPTION_WRITE_FAULT 1 -#define EXCEPTION_EXECUTE_FAULT 8 - -typedef struct DECLSPEC_ALIGN(16) _M128A { - ULONGLONG Low; - LONGLONG High; -} M128A, *PM128A; - -typedef struct _XMM_SAVE_AREA32 { - WORD ControlWord; /* 000 */ - WORD StatusWord; /* 002 */ - BYTE TagWord; /* 004 */ - BYTE Reserved1; /* 005 */ - WORD ErrorOpcode; /* 006 */ - DWORD ErrorOffset; /* 008 */ - WORD ErrorSelector; /* 00c */ - WORD Reserved2; /* 00e */ - DWORD DataOffset; /* 010 */ - WORD DataSelector; /* 014 */ - WORD Reserved3; /* 016 */ - DWORD MxCsr; /* 018 */ - DWORD MxCsr_Mask; /* 01c */ - M128A FloatRegisters[8]; /* 020 */ - M128A XmmRegisters[16]; /* 0a0 */ - BYTE Reserved4[96]; /* 1a0 */ -} XMM_SAVE_AREA32, *PXMM_SAVE_AREA32; - -typedef struct DECLSPEC_ALIGN(16) _CONTEXT { - DWORD64 P1Home; /* 000 */ - DWORD64 P2Home; /* 008 */ - DWORD64 P3Home; /* 010 */ - DWORD64 P4Home; /* 018 */ - DWORD64 P5Home; /* 020 */ - DWORD64 P6Home; /* 028 */ - - /* Control flags */ - DWORD ContextFlags; /* 030 */ - DWORD MxCsr; /* 034 */ - - /* Segment */ - WORD SegCs; /* 038 */ - WORD SegDs; /* 03a */ - WORD SegEs; /* 03c */ - WORD SegFs; /* 03e */ - WORD SegGs; /* 040 */ - WORD SegSs; /* 042 */ - DWORD EFlags; /* 044 */ - - /* Debug */ - DWORD64 Dr0; /* 048 */ - DWORD64 Dr1; /* 050 */ - DWORD64 Dr2; /* 058 */ - DWORD64 Dr3; /* 060 */ - DWORD64 Dr6; /* 068 */ - DWORD64 Dr7; /* 070 */ - - /* Integer */ - DWORD64 Rax; /* 078 */ - DWORD64 Rcx; /* 080 */ - DWORD64 Rdx; /* 088 */ - DWORD64 Rbx; /* 090 */ - DWORD64 Rsp; /* 098 */ - DWORD64 Rbp; /* 0a0 */ - DWORD64 Rsi; /* 0a8 */ - DWORD64 Rdi; /* 0b0 */ - DWORD64 R8; /* 0b8 */ - DWORD64 R9; /* 0c0 */ - DWORD64 R10; /* 0c8 */ - DWORD64 R11; /* 0d0 */ - DWORD64 R12; /* 0d8 */ - DWORD64 R13; /* 0e0 */ - DWORD64 R14; /* 0e8 */ - DWORD64 R15; /* 0f0 */ - - /* Counter */ - DWORD64 Rip; /* 0f8 */ - - /* Floating point */ - union { - XMM_SAVE_AREA32 FltSave; /* 100 */ - struct { - M128A Header[2]; /* 100 */ - M128A Legacy[8]; /* 120 */ - M128A Xmm0; /* 1a0 */ - M128A Xmm1; /* 1b0 */ - M128A Xmm2; /* 1c0 */ - M128A Xmm3; /* 1d0 */ - M128A Xmm4; /* 1e0 */ - M128A Xmm5; /* 1f0 */ - M128A Xmm6; /* 200 */ - M128A Xmm7; /* 210 */ - M128A Xmm8; /* 220 */ - M128A Xmm9; /* 230 */ - M128A Xmm10; /* 240 */ - M128A Xmm11; /* 250 */ - M128A Xmm12; /* 260 */ - M128A Xmm13; /* 270 */ - M128A Xmm14; /* 280 */ - M128A Xmm15; /* 290 */ - } DUMMYSTRUCTNAME; - } DUMMYUNIONNAME; - - /* Vector */ - M128A VectorRegister[26]; /* 300 */ - DWORD64 VectorControl; /* 4a0 */ - - /* Debug control */ - DWORD64 DebugControl; /* 4a8 */ - DWORD64 LastBranchToRip; /* 4b0 */ - DWORD64 LastBranchFromRip; /* 4b8 */ - DWORD64 LastExceptionToRip; /* 4c0 */ - DWORD64 LastExceptionFromRip; /* 4c8 */ -} CONTEXT; - -typedef struct _RUNTIME_FUNCTION -{ - DWORD BeginAddress; - DWORD EndAddress; - DWORD UnwindData; -} RUNTIME_FUNCTION, *PRUNTIME_FUNCTION; - -#define UNWIND_HISTORY_TABLE_SIZE 12 - -typedef struct _UNWIND_HISTORY_TABLE_ENTRY -{ - ULONG64 ImageBase; - PRUNTIME_FUNCTION FunctionEntry; -} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY; - -#define UNWIND_HISTORY_TABLE_NONE 0 -#define UNWIND_HISTORY_TABLE_GLOBAL 1 -#define UNWIND_HISTORY_TABLE_LOCAL 2 - -typedef struct _UNWIND_HISTORY_TABLE -{ - ULONG Count; - UCHAR Search; - ULONG64 LowAddress; - ULONG64 HighAddress; - UNWIND_HISTORY_TABLE_ENTRY Entry[UNWIND_HISTORY_TABLE_SIZE]; -} UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE; - -typedef struct _KNONVOLATILE_CONTEXT_POINTERS -{ - union - { - PM128A FloatingContext[16]; - struct - { - PM128A Xmm0; - PM128A Xmm1; - PM128A Xmm2; - PM128A Xmm3; - PM128A Xmm4; - PM128A Xmm5; - PM128A Xmm6; - PM128A Xmm7; - PM128A Xmm8; - PM128A Xmm9; - PM128A Xmm10; - PM128A Xmm11; - PM128A Xmm12; - PM128A Xmm13; - PM128A Xmm14; - PM128A Xmm15; - } DUMMYSTRUCTNAME; - } DUMMYUNIONNAME; - - union - { - PULONG64 IntegerContext[16]; - struct - { - PULONG64 Rax; - PULONG64 Rcx; - PULONG64 Rdx; - PULONG64 Rbx; - PULONG64 Rsp; - PULONG64 Rbp; - PULONG64 Rsi; - PULONG64 Rdi; - PULONG64 R8; - PULONG64 R9; - PULONG64 R10; - PULONG64 R11; - PULONG64 R12; - PULONG64 R13; - PULONG64 R14; - PULONG64 R15; - } DUMMYSTRUCTNAME; - } DUMMYUNIONNAME2; -} KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS; - -BOOLEAN CDECL RtlAddFunctionTable(RUNTIME_FUNCTION*,DWORD,DWORD64); -BOOLEAN CDECL RtlDeleteFunctionTable(RUNTIME_FUNCTION*); -PRUNTIME_FUNCTION WINAPI RtlLookupFunctionEntry(DWORD64,DWORD64*,UNWIND_HISTORY_TABLE*); -PVOID WINAPI RtlVirtualUnwind(ULONG,ULONG64,ULONG64,RUNTIME_FUNCTION*,CONTEXT*,PVOID*,ULONG64*,KNONVOLATILE_CONTEXT_POINTERS*); - -#define UNW_FLAG_NHANDLER 0 -#define UNW_FLAG_EHANDLER 1 -#define UNW_FLAG_UHANDLER 2 -#define UNW_FLAG_CHAININFO 4 - -#endif /* __x86_64__ */ - -/* IA64 context definitions */ -#ifdef __ia64__ - -#define CONTEXT_IA64 0x00080000 -#define CONTEXT_CONTROL (CONTEXT_IA64 | 0x00000001) -#define CONTEXT_LOWER_FLOATING_POINT (CONTEXT_IA64 | 0x00000002) -#define CONTEXT_HIGHER_FLOATING_POINT (CONTEXT_IA64 | 0x00000004) -#define CONTEXT_INTEGER (CONTEXT_IA64 | 0x00000008) -#define CONTEXT_DEBUG (CONTEXT_IA64 | 0x00000010) -#define CONTEXT_IA32_CONTROL (CONTEXT_IA64 | 0x00000020) -#define CONTEXT_FLOATING_POINT (CONTEXT_LOWER_FLOATING_POINT | CONTEXT_HIGHER_FLOATING_POINT) -#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER | CONTEXT_IA32_CONTROL) -#define CONTEXT_ALL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER | CONTEXT_DEBUG | CONTEXT_IA32_CONTROL) - -#define CONTEXT_EXCEPTION_ACTIVE 0x8000000 -#define CONTEXT_SERVICE_ACTIVE 0x10000000 -#define CONTEXT_EXCEPTION_REQUEST 0x40000000 -#define CONTEXT_EXCEPTION_REPORTING 0x80000000 - -typedef struct _CONTEXT -{ - DWORD ContextFlags; - DWORD Fill1[3]; - ULONGLONG DbI0; - ULONGLONG DbI1; - ULONGLONG DbI2; - ULONGLONG DbI3; - ULONGLONG DbI4; - ULONGLONG DbI5; - ULONGLONG DbI6; - ULONGLONG DbI7; - ULONGLONG DbD0; - ULONGLONG DbD1; - ULONGLONG DbD2; - ULONGLONG DbD3; - ULONGLONG DbD4; - ULONGLONG DbD5; - ULONGLONG DbD6; - ULONGLONG DbD7; - FLOAT128 FltS0; - FLOAT128 FltS1; - FLOAT128 FltS2; - FLOAT128 FltS3; - FLOAT128 FltT0; - FLOAT128 FltT1; - FLOAT128 FltT2; - FLOAT128 FltT3; - FLOAT128 FltT4; - FLOAT128 FltT5; - FLOAT128 FltT6; - FLOAT128 FltT7; - FLOAT128 FltT8; - FLOAT128 FltT9; - FLOAT128 FltS4; - FLOAT128 FltS5; - FLOAT128 FltS6; - FLOAT128 FltS7; - FLOAT128 FltS8; - FLOAT128 FltS9; - FLOAT128 FltS10; - FLOAT128 FltS11; - FLOAT128 FltS12; - FLOAT128 FltS13; - FLOAT128 FltS14; - FLOAT128 FltS15; - FLOAT128 FltS16; - FLOAT128 FltS17; - FLOAT128 FltS18; - FLOAT128 FltS19; - FLOAT128 FltF32; - FLOAT128 FltF33; - FLOAT128 FltF34; - FLOAT128 FltF35; - FLOAT128 FltF36; - FLOAT128 FltF37; - FLOAT128 FltF38; - FLOAT128 FltF39; - FLOAT128 FltF40; - FLOAT128 FltF41; - FLOAT128 FltF42; - FLOAT128 FltF43; - FLOAT128 FltF44; - FLOAT128 FltF45; - FLOAT128 FltF46; - FLOAT128 FltF47; - FLOAT128 FltF48; - FLOAT128 FltF49; - FLOAT128 FltF50; - FLOAT128 FltF51; - FLOAT128 FltF52; - FLOAT128 FltF53; - FLOAT128 FltF54; - FLOAT128 FltF55; - FLOAT128 FltF56; - FLOAT128 FltF57; - FLOAT128 FltF58; - FLOAT128 FltF59; - FLOAT128 FltF60; - FLOAT128 FltF61; - FLOAT128 FltF62; - FLOAT128 FltF63; - FLOAT128 FltF64; - FLOAT128 FltF65; - FLOAT128 FltF66; - FLOAT128 FltF67; - FLOAT128 FltF68; - FLOAT128 FltF69; - FLOAT128 FltF70; - FLOAT128 FltF71; - FLOAT128 FltF72; - FLOAT128 FltF73; - FLOAT128 FltF74; - FLOAT128 FltF75; - FLOAT128 FltF76; - FLOAT128 FltF77; - FLOAT128 FltF78; - FLOAT128 FltF79; - FLOAT128 FltF80; - FLOAT128 FltF81; - FLOAT128 FltF82; - FLOAT128 FltF83; - FLOAT128 FltF84; - FLOAT128 FltF85; - FLOAT128 FltF86; - FLOAT128 FltF87; - FLOAT128 FltF88; - FLOAT128 FltF89; - FLOAT128 FltF90; - FLOAT128 FltF91; - FLOAT128 FltF92; - FLOAT128 FltF93; - FLOAT128 FltF94; - FLOAT128 FltF95; - FLOAT128 FltF96; - FLOAT128 FltF97; - FLOAT128 FltF98; - FLOAT128 FltF99; - FLOAT128 FltF100; - FLOAT128 FltF101; - FLOAT128 FltF102; - FLOAT128 FltF103; - FLOAT128 FltF104; - FLOAT128 FltF105; - FLOAT128 FltF106; - FLOAT128 FltF107; - FLOAT128 FltF108; - FLOAT128 FltF109; - FLOAT128 FltF110; - FLOAT128 FltF111; - FLOAT128 FltF112; - FLOAT128 FltF113; - FLOAT128 FltF114; - FLOAT128 FltF115; - FLOAT128 FltF116; - FLOAT128 FltF117; - FLOAT128 FltF118; - FLOAT128 FltF119; - FLOAT128 FltF120; - FLOAT128 FltF121; - FLOAT128 FltF122; - FLOAT128 FltF123; - FLOAT128 FltF124; - FLOAT128 FltF125; - FLOAT128 FltF126; - FLOAT128 FltF127; - ULONGLONG StFPSR; - ULONGLONG IntGp; - ULONGLONG IntT0; - ULONGLONG IntT1; - ULONGLONG IntS0; - ULONGLONG IntS1; - ULONGLONG IntS2; - ULONGLONG IntS3; - ULONGLONG IntV0; - ULONGLONG IntT2; - ULONGLONG IntT3; - ULONGLONG IntT4; - ULONGLONG IntSp; - ULONGLONG IntTeb; - ULONGLONG IntT5; - ULONGLONG IntT6; - ULONGLONG IntT7; - ULONGLONG IntT8; - ULONGLONG IntT9; - ULONGLONG IntT10; - ULONGLONG IntT11; - ULONGLONG IntT12; - ULONGLONG IntT13; - ULONGLONG IntT14; - ULONGLONG IntT15; - ULONGLONG IntT16; - ULONGLONG IntT17; - ULONGLONG IntT18; - ULONGLONG IntT19; - ULONGLONG IntT20; - ULONGLONG IntT21; - ULONGLONG IntT22; - ULONGLONG IntNats; - ULONGLONG Preds; - ULONGLONG BrRp; - ULONGLONG BrS0; - ULONGLONG BrS1; - ULONGLONG BrS2; - ULONGLONG BrS3; - ULONGLONG BrS4; - ULONGLONG BrT0; - ULONGLONG BrT1; - ULONGLONG ApUNAT; - ULONGLONG ApLC; - ULONGLONG ApEC; - ULONGLONG ApCCV; - ULONGLONG ApDCR; - ULONGLONG RsPFS; - ULONGLONG RsBSP; - ULONGLONG RsBSPSTORE; - ULONGLONG RsRSC; - ULONGLONG RsRNAT; - ULONGLONG StIPSR; - ULONGLONG StIIP; - ULONGLONG StIFS; - ULONGLONG StFCR; - ULONGLONG Eflag; - ULONGLONG SegCSD; - ULONGLONG SegSSD; - ULONGLONG Cflag; - ULONGLONG StFSR; - ULONGLONG StFIR; - ULONGLONG StFDR; - ULONGLONG UNUSEDPACK; -} CONTEXT, *PCONTEXT; - -typedef struct _RUNTIME_FUNCTION -{ - ULONG BeginAddress; - ULONG EndAddress; - ULONG UnwindInfoAddress; -} RUNTIME_FUNCTION, *PRUNTIME_FUNCTION; - -typedef struct _FRAME_POINTERS { - ULONGLONG MemoryStackFp; - ULONGLONG BackingStoreFp; -} FRAME_POINTERS, *PFRAME_POINTERS; - -#define UNWIND_HISTORY_TABLE_SIZE 12 - -typedef struct _UNWIND_HISTORY_TABLE_ENTRY { - ULONG64 ImageBase; - ULONG64 Gp; - PRUNTIME_FUNCTION FunctionEntry; -} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY; - -typedef struct _UNWIND_HISTORY_TABLE { - ULONG Count; - UCHAR Search; - ULONG64 LowAddress; - ULONG64 HighAddress; - UNWIND_HISTORY_TABLE_ENTRY Entry[UNWIND_HISTORY_TABLE_SIZE]; -} UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE; - -typedef struct _KNONVOLATILE_CONTEXT_POINTERS -{ - PFLOAT128 FltS0; - PFLOAT128 FltS1; - PFLOAT128 FltS2; - PFLOAT128 FltS3; - PFLOAT128 HighFloatingContext[10]; - PFLOAT128 FltS4; - PFLOAT128 FltS5; - PFLOAT128 FltS6; - PFLOAT128 FltS7; - PFLOAT128 FltS8; - PFLOAT128 FltS9; - PFLOAT128 FltS10; - PFLOAT128 FltS11; - PFLOAT128 FltS12; - PFLOAT128 FltS13; - PFLOAT128 FltS14; - PFLOAT128 FltS15; - PFLOAT128 FltS16; - PFLOAT128 FltS17; - PFLOAT128 FltS18; - PFLOAT128 FltS19; - PULONGLONG IntS0; - PULONGLONG IntS1; - PULONGLONG IntS2; - PULONGLONG IntS3; - PULONGLONG IntSp; - PULONGLONG IntS0Nat; - PULONGLONG IntS1Nat; - PULONGLONG IntS2Nat; - PULONGLONG IntS3Nat; - PULONGLONG IntSpNat; - PULONGLONG Preds; - PULONGLONG BrRp; - PULONGLONG BrS0; - PULONGLONG BrS1; - PULONGLONG BrS2; - PULONGLONG BrS3; - PULONGLONG BrS4; - PULONGLONG ApUNAT; - PULONGLONG ApLC; - PULONGLONG ApEC; - PULONGLONG RsPFS; - PULONGLONG StFSR; - PULONGLONG StFIR; - PULONGLONG StFDR; - PULONGLONG Cflag; -} KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS; - -ULONGLONG WINAPI RtlVirtualUnwind(ULONGLONG,ULONGLONG,RUNTIME_FUNCTION*,CONTEXT*,BOOLEAN*,FRAME_POINTERS*,KNONVOLATILE_CONTEXT_POINTERS*); - -#endif /* __ia64__ */ - -/* Alpha context definitions */ -#if defined(_ALPHA_) || defined(__ALPHA__) || defined(__alpha__) - -#define CONTEXT_ALPHA 0x00020000 - -#define CONTEXT_CONTROL (CONTEXT_ALPHA | 0x00000001) -#define CONTEXT_FLOATING_POINT (CONTEXT_ALPHA | 0x00000002) -#define CONTEXT_INTEGER (CONTEXT_ALPHA | 0x00000004) -#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER) - -#define EXCEPTION_READ_FAULT 0 -#define EXCEPTION_WRITE_FAULT 1 -#define EXCEPTION_EXECUTE_FAULT 8 - -typedef struct _CONTEXT -{ - /* selected by CONTEXT_FLOATING_POINT */ - ULONGLONG FltF0; - ULONGLONG FltF1; - ULONGLONG FltF2; - ULONGLONG FltF3; - ULONGLONG FltF4; - ULONGLONG FltF5; - ULONGLONG FltF6; - ULONGLONG FltF7; - ULONGLONG FltF8; - ULONGLONG FltF9; - ULONGLONG FltF10; - ULONGLONG FltF11; - ULONGLONG FltF12; - ULONGLONG FltF13; - ULONGLONG FltF14; - ULONGLONG FltF15; - ULONGLONG FltF16; - ULONGLONG FltF17; - ULONGLONG FltF18; - ULONGLONG FltF19; - ULONGLONG FltF20; - ULONGLONG FltF21; - ULONGLONG FltF22; - ULONGLONG FltF23; - ULONGLONG FltF24; - ULONGLONG FltF25; - ULONGLONG FltF26; - ULONGLONG FltF27; - ULONGLONG FltF28; - ULONGLONG FltF29; - ULONGLONG FltF30; - ULONGLONG FltF31; - - /* selected by CONTEXT_INTEGER */ - ULONGLONG IntV0; - ULONGLONG IntT0; - ULONGLONG IntT1; - ULONGLONG IntT2; - ULONGLONG IntT3; - ULONGLONG IntT4; - ULONGLONG IntT5; - ULONGLONG IntT6; - ULONGLONG IntT7; - ULONGLONG IntS0; - ULONGLONG IntS1; - ULONGLONG IntS2; - ULONGLONG IntS3; - ULONGLONG IntS4; - ULONGLONG IntS5; - ULONGLONG IntFp; - ULONGLONG IntA0; - ULONGLONG IntA1; - ULONGLONG IntA2; - ULONGLONG IntA3; - ULONGLONG IntA4; - ULONGLONG IntA5; - ULONGLONG IntT8; - ULONGLONG IntT9; - ULONGLONG IntT10; - ULONGLONG IntT11; - ULONGLONG IntRa; - ULONGLONG IntT12; - ULONGLONG IntAt; - ULONGLONG IntGp; - ULONGLONG IntSp; - ULONGLONG IntZero; - - /* selected by CONTEXT_FLOATING_POINT */ - ULONGLONG Fpcr; - ULONGLONG SoftFpcr; - - /* selected by CONTEXT_CONTROL */ - ULONGLONG Fir; - DWORD Psr; - DWORD ContextFlags; - DWORD Fill[4]; -} CONTEXT; - -#define _QUAD_PSR_OFFSET HighSoftFpcr -#define _QUAD_FLAGS_OFFSET HighFir - -#endif /* _ALPHA_ */ - -#ifdef __arm__ - -/* The following flags control the contents of the CONTEXT structure. */ - -#define CONTEXT_ARM 0x0200000 -#define CONTEXT_CONTROL (CONTEXT_ARM | 0x00000001) -#define CONTEXT_INTEGER (CONTEXT_ARM | 0x00000002) -#define CONTEXT_FLOATING_POINT (CONTEXT_ARM | 0x00000004) -#define CONTEXT_DEBUG_REGISTERS (CONTEXT_ARM | 0x00000008) - -#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER) - -#define EXCEPTION_READ_FAULT 0 -#define EXCEPTION_WRITE_FAULT 1 -#define EXCEPTION_EXECUTE_FAULT 8 - -typedef struct _RUNTIME_FUNCTION -{ - DWORD BeginAddress; - union { - DWORD UnwindData; - struct { - DWORD Flag : 2; - DWORD FunctionLength : 11; - DWORD Ret : 2; - DWORD H : 1; - DWORD Reg : 3; - DWORD R : 1; - DWORD L : 1; - DWORD C : 1; - DWORD StackAdjust : 10; - } DUMMYSTRUCTNAME; - } DUMMYUNIONNAME; -} RUNTIME_FUNCTION, *PRUNTIME_FUNCTION; - -#define UNWIND_HISTORY_TABLE_SIZE 12 - -typedef struct _UNWIND_HISTORY_TABLE_ENTRY -{ - DWORD ImageBase; - PRUNTIME_FUNCTION FunctionEntry; -} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY; - -typedef struct _UNWIND_HISTORY_TABLE -{ - DWORD Count; - BYTE LocalHint; - BYTE GlobalHint; - BYTE Search; - BYTE Once; - DWORD LowAddress; - DWORD HighAddress; - UNWIND_HISTORY_TABLE_ENTRY Entry[UNWIND_HISTORY_TABLE_SIZE]; -} UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE; - -typedef struct _CONTEXT { - /* The flags values within this flag control the contents of - a CONTEXT record. - - If the context record is used as an input parameter, then - for each portion of the context record controlled by a flag - whose value is set, it is assumed that that portion of the - context record contains valid context. If the context record - is being used to modify a thread's context, then only that - portion of the threads context will be modified. - - If the context record is used as an IN OUT parameter to capture - the context of a thread, then only those portions of the thread's - context corresponding to set flags will be returned. - - The context record is never used as an OUT only parameter. */ - - ULONG ContextFlags; - - /* This section is specified/returned if the ContextFlags word contains - the flag CONTEXT_INTEGER. */ - ULONG R0; - ULONG R1; - ULONG R2; - ULONG R3; - ULONG R4; - ULONG R5; - ULONG R6; - ULONG R7; - ULONG R8; - ULONG R9; - ULONG R10; - ULONG Fp; - ULONG Ip; - - /* These are selected by CONTEXT_CONTROL */ - ULONG Sp; - ULONG Lr; - ULONG Pc; - ULONG Cpsr; -} CONTEXT; - -BOOLEAN CDECL RtlAddFunctionTable(RUNTIME_FUNCTION*,DWORD,DWORD); -BOOLEAN CDECL RtlDeleteFunctionTable(RUNTIME_FUNCTION*); -PRUNTIME_FUNCTION WINAPI RtlLookupFunctionEntry(ULONG_PTR,DWORD*,UNWIND_HISTORY_TABLE*); - -#endif /* __arm__ */ - -#ifdef __aarch64__ -/* - * FIXME: - * - * There is not yet an official CONTEXT structure defined for the AArch64 - * architecture, so I just made one up. - * - */ - -#define CONTEXT_ARM64 0x2000000 -#define CONTEXT_CONTROL (CONTEXT_ARM64 | 0x00000001) -#define CONTEXT_INTEGER (CONTEXT_ARM64 | 0x00000002) -#define CONTEXT_FLOATING_POINT (CONTEXT_ARM64 | 0x00000004) -#define CONTEXT_DEBUG_REGISTERS (CONTEXT_ARM64 | 0x00000008) - -#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER) - -#define EXCEPTION_READ_FAULT 0 -#define EXCEPTION_WRITE_FAULT 1 -#define EXCEPTION_EXECUTE_FAULT 8 - -typedef struct _CONTEXT { - ULONG ContextFlags; - - /* This section is specified/returned if the ContextFlags word contains - the flag CONTEXT_INTEGER. */ - ULONGLONG X0; - ULONGLONG X1; - ULONGLONG X2; - ULONGLONG X3; - ULONGLONG X4; - ULONGLONG X5; - ULONGLONG X6; - ULONGLONG X7; - ULONGLONG X8; - ULONGLONG X9; - ULONGLONG X10; - ULONGLONG X11; - ULONGLONG X12; - ULONGLONG X13; - ULONGLONG X14; - ULONGLONG X15; - ULONGLONG X16; - ULONGLONG X17; - ULONGLONG X18; - ULONGLONG X19; - ULONGLONG X20; - ULONGLONG X21; - ULONGLONG X22; - ULONGLONG X23; - ULONGLONG X24; - ULONGLONG X25; - ULONGLONG X26; - ULONGLONG X27; - ULONGLONG X28; - ULONGLONG X29; - ULONGLONG X30; - - /* These are selected by CONTEXT_CONTROL */ - ULONGLONG Sp; - ULONGLONG Pc; - ULONGLONG PState; - - /* These are selected by CONTEXT_FLOATING_POINT */ - /* FIXME */ -} CONTEXT; - -#endif /* __aarch64__ */ - - -/* Mips context definitions */ -#if defined(_MIPS_) || defined(__MIPS__) || defined(__mips__) - -#define CONTEXT_R4000 0x00010000 - -#define CONTEXT_CONTROL (CONTEXT_R4000 | 0x00000001) -#define CONTEXT_FLOATING_POINT (CONTEXT_R4000 | 0x00000002) -#define CONTEXT_INTEGER (CONTEXT_R4000 | 0x00000004) - -#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER) - -#define EXCEPTION_READ_FAULT 0 -#define EXCEPTION_WRITE_FAULT 1 -#define EXCEPTION_EXECUTE_FAULT 8 - -typedef struct _CONTEXT -{ - DWORD Argument[4]; - /* These are selected by CONTEXT_FLOATING_POINT */ - DWORD FltF0; - DWORD FltF1; - DWORD FltF2; - DWORD FltF3; - DWORD FltF4; - DWORD FltF5; - DWORD FltF6; - DWORD FltF7; - DWORD FltF8; - DWORD FltF9; - DWORD FltF10; - DWORD FltF11; - DWORD FltF12; - DWORD FltF13; - DWORD FltF14; - DWORD FltF15; - DWORD FltF16; - DWORD FltF17; - DWORD FltF18; - DWORD FltF19; - DWORD FltF20; - DWORD FltF21; - DWORD FltF22; - DWORD FltF23; - DWORD FltF24; - DWORD FltF25; - DWORD FltF26; - DWORD FltF27; - DWORD FltF28; - DWORD FltF29; - DWORD FltF30; - DWORD FltF31; - - /* These are selected by CONTEXT_INTEGER */ - DWORD IntZero; - DWORD IntAt; - DWORD IntV0; - DWORD IntV1; - DWORD IntA0; - DWORD IntA1; - DWORD IntA2; - DWORD IntA3; - DWORD IntT0; - DWORD IntT1; - DWORD IntT2; - DWORD IntT3; - DWORD IntT4; - DWORD IntT5; - DWORD IntT6; - DWORD IntT7; - DWORD IntS0; - DWORD IntS1; - DWORD IntS2; - DWORD IntS3; - DWORD IntS4; - DWORD IntS5; - DWORD IntS6; - DWORD IntS7; - DWORD IntT8; - DWORD IntT9; - DWORD IntK0; - DWORD IntK1; - DWORD IntGp; - DWORD IntSp; - DWORD IntS8; - DWORD IntRa; - DWORD IntLo; - DWORD IntHi; - - /* These are selected by CONTEXT_FLOATING_POINT */ - DWORD Fsr; - - /* These are selected by CONTEXT_CONTROL */ - DWORD Fir; - DWORD Psr; - - DWORD ContextFlags; - DWORD Fill[2]; -} CONTEXT; - -#endif /* _MIPS_ */ - -/* PowerPC context definitions */ -#ifdef __powerpc__ - -#define CONTEXT_CONTROL 0x0001 -#define CONTEXT_FLOATING_POINT 0x0002 -#define CONTEXT_INTEGER 0x0004 -#define CONTEXT_DEBUG_REGISTERS 0x0008 -#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_FLOATING_POINT | CONTEXT_INTEGER) - -#define EXCEPTION_READ_FAULT 0 -#define EXCEPTION_WRITE_FAULT 1 -#define EXCEPTION_EXECUTE_FAULT 8 - -typedef struct -{ - /* These are selected by CONTEXT_FLOATING_POINT */ - double Fpr0; - double Fpr1; - double Fpr2; - double Fpr3; - double Fpr4; - double Fpr5; - double Fpr6; - double Fpr7; - double Fpr8; - double Fpr9; - double Fpr10; - double Fpr11; - double Fpr12; - double Fpr13; - double Fpr14; - double Fpr15; - double Fpr16; - double Fpr17; - double Fpr18; - double Fpr19; - double Fpr20; - double Fpr21; - double Fpr22; - double Fpr23; - double Fpr24; - double Fpr25; - double Fpr26; - double Fpr27; - double Fpr28; - double Fpr29; - double Fpr30; - double Fpr31; - double Fpscr; - - /* These are selected by CONTEXT_INTEGER */ - DWORD Gpr0; - DWORD Gpr1; - DWORD Gpr2; - DWORD Gpr3; - DWORD Gpr4; - DWORD Gpr5; - DWORD Gpr6; - DWORD Gpr7; - DWORD Gpr8; - DWORD Gpr9; - DWORD Gpr10; - DWORD Gpr11; - DWORD Gpr12; - DWORD Gpr13; - DWORD Gpr14; - DWORD Gpr15; - DWORD Gpr16; - DWORD Gpr17; - DWORD Gpr18; - DWORD Gpr19; - DWORD Gpr20; - DWORD Gpr21; - DWORD Gpr22; - DWORD Gpr23; - DWORD Gpr24; - DWORD Gpr25; - DWORD Gpr26; - DWORD Gpr27; - DWORD Gpr28; - DWORD Gpr29; - DWORD Gpr30; - DWORD Gpr31; - - DWORD Cr; - DWORD Xer; - - /* These are selected by CONTEXT_CONTROL */ - DWORD Msr; - DWORD Iar; /* Instruction Address Register , aka PC ... */ - DWORD Lr; - DWORD Ctr; - - DWORD ContextFlags; - - DWORD Dar; /* Fault registers for coredump */ - DWORD Dsisr; - DWORD Trap; /* number of powerpc exception taken */ - - /* These are selected by CONTEXT_DEBUG_REGISTERS */ - DWORD Dr0; - DWORD Dr1; - DWORD Dr2; - DWORD Dr3; - DWORD Dr4; - DWORD Dr5; - DWORD Dr6; - DWORD Dr7; -} CONTEXT; - -typedef struct _STACK_FRAME_HEADER -{ - DWORD BackChain; - DWORD GlueSaved1; - DWORD GlueSaved2; - DWORD Reserved1; - DWORD Spare1; - DWORD Spare2; - - DWORD Parameter0; - DWORD Parameter1; - DWORD Parameter2; - DWORD Parameter3; - DWORD Parameter4; - DWORD Parameter5; - DWORD Parameter6; - DWORD Parameter7; -} STACK_FRAME_HEADER,*PSTACK_FRAME_HEADER; - -#endif /* __powerpc__ */ - -#if !defined(CONTEXT_FULL) && !defined(RC_INVOKED) -#error You need to define a CONTEXT for your CPU -#endif - -typedef CONTEXT *PCONTEXT; - -NTSYSAPI void WINAPI RtlCaptureContext(CONTEXT*); - /* * Product types */ @@ -2206,56 +1081,6 @@ ULONG_PTR ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS]; } EXCEPTION_RECORD, *PEXCEPTION_RECORD; -/* - * The exception pointers structure passed to exception filters - * in except() and the UnhandledExceptionFilter(). - */ - -typedef struct _EXCEPTION_POINTERS -{ - PEXCEPTION_RECORD ExceptionRecord; - PCONTEXT ContextRecord; -} EXCEPTION_POINTERS, *PEXCEPTION_POINTERS; - - -/* - * The exception frame, used for registering exception handlers - * Win32 cares only about this, but compilers generally emit - * larger exception frames for their own use. - */ - -struct _EXCEPTION_REGISTRATION_RECORD; - -typedef DWORD (*PEXCEPTION_HANDLER)(PEXCEPTION_RECORD,struct _EXCEPTION_REGISTRATION_RECORD*, - PCONTEXT,struct _EXCEPTION_REGISTRATION_RECORD **); - -typedef struct _EXCEPTION_REGISTRATION_RECORD -{ - struct _EXCEPTION_REGISTRATION_RECORD *Prev; - PEXCEPTION_HANDLER Handler; -} EXCEPTION_REGISTRATION_RECORD; - -/* - * function pointer to an exception filter - */ - -typedef LONG (CALLBACK *PVECTORED_EXCEPTION_HANDLER)(PEXCEPTION_POINTERS ExceptionInfo); - -typedef struct _NT_TIB -{ - struct _EXCEPTION_REGISTRATION_RECORD *ExceptionList; - PVOID StackBase; - PVOID StackLimit; - PVOID SubSystemTib; - union { - PVOID FiberData; - DWORD Version; - } DUMMYUNIONNAME; - PVOID ArbitraryUserPointer; - struct _NT_TIB *Self; -} NT_TIB, *PNT_TIB; - -struct _TEB; #if defined(__i386__) && defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2))) static FORCEINLINE struct _TEB * WINAPI NtCurrentTeb(void) debian/patches/spelling-fix.patch0000644000000000000000000000260112161257225014241 0ustar Description: trivial spelling fix Author: Stephen Kitt --- mingw-w64.orig/mingw-w64-tools/gendef/src/gendef.c +++ mingw-w64/mingw-w64-tools/gendef/src/gendef.c @@ -114,7 +114,7 @@ { if (!next) { - fprintf (stderr, "Error: %s expects path as next arguement.", opts); + fprintf (stderr, "Error: %s expects path as next argument.", opts); return 0; } gendef_addpath_def (next); --- mingw-w64.orig/mingw-w64-libraries/libmangle/src/m_ms.c +++ mingw-w64/mingw-w64-libraries/libmangle/src/m_ms.c @@ -685,7 +685,7 @@ return m_oper (c, m_rtti (c, "complete_object_locator")); } DEC_CHAR (c); - fprintf (stderr, " *** Unkown RTTI %c\n", ch); + fprintf (stderr, " *** Unknown RTTI %c\n", ch); c->err = 2; return NULL; case 'S': --- mingw-w64.orig/mingw-w64-tools/genpeimg/src/img_pe.c +++ mingw-w64/mingw-w64-tools/genpeimg/src/img_pe.c @@ -282,7 +282,7 @@ case 14: fprintf (outfp, "XBOX\n"); break; case 16: fprintf (outfp, "Windows Boot Application (16)\n"); break; default: - fprintf (outfp, "Unkown (%u)\n", PEIMG_GET_USHORT (ppeimg, ppeimg->optional_hdr_pos + 68)); + fprintf (outfp, "Unknown (%u)\n", PEIMG_GET_USHORT (ppeimg, ppeimg->optional_hdr_pos + 68)); break; } hdr_cha = PEIMG_GET_USHORT (ppeimg, ppeimg->optional_hdr_pos + 70); debian/patches/series0000644000000000000000000000016712263704431012040 0ustar spelling-fix.patch widl-no-context.patch disable-werror.patch missing-cpu-info.patch libvfw32.patch basetsd-hppa.patch debian/patches/basetsd-hppa.patch0000644000000000000000000000100112263704550014205 0ustar Description: Add hppa support Author: John David Anglin Origin: http://bugs.debian.org/730398 --- a/mingw-w64-tools/widl/include/basetsd.h +++ b/mingw-w64-tools/widl/include/basetsd.h @@ -313,6 +313,10 @@ # undef WORDS_BIGENDIAN # undef BITFIELDS_BIGENDIAN # undef ALLOW_UNALIGNED_ACCESS +#elif defined(__hppa__) +# undef WORDS_BIGENDIAN +# undef BITFIELDS_BIGENDIAN +# undef ALLOW_UNALIGNED_ACCESS #elif defined(__ia64__) # undef WORDS_BIGENDIAN # undef BITFIELDS_BIGENDIAN debian/changelog0000644000000000000000000002022712263707675011062 0ustar mingw-w64 (3.1.0-1) unstable; urgency=medium * New upstream release. * Add support for hppa; thanks to John David Anglin for the patch. (Closes: #730398.) * Standards-Version 3.9.5, no change required. * Drop Makefile.in patch from libvfw32.patch; it's regenerated during the build (this allows building twice in a row without errors). -- Stephen Kitt Fri, 10 Jan 2014 07:14:19 +0100 mingw-w64 (3.0.0-3) unstable; urgency=low * Explicitly build-depend on automake 1.14 or later. * Ship common header files in a new mingw-w64-common package. * Make the build target in debian/rules depend on build-indep as well as build-arch, so it builds everything. -- Stephen Kitt Sun, 10 Nov 2013 14:46:24 +0100 mingw-w64 (3.0.0-2) unstable; urgency=low * Restore libvfw32.a in the 32-bit package (thanks to Eugen Dedu for pointing out that it had been dropped). -- Stephen Kitt Tue, 24 Sep 2013 00:00:55 +0200 mingw-w64 (3.0.0-1) unstable; urgency=low * New upstream release. * Add links to the pkg-config manpage. * Import widl manpage from the Wine project. -- Stephen Kitt Sat, 21 Sep 2013 13:27:01 +0200 mingw-w64 (3.0~svn6246-1) unstable; urgency=low * New upstream snapshot. * Drop obsolete mingw-w64-dev package. * Provide pkg-config symlinks in mingw-w64-tools. * Improve mingw-w64-tools package description. -- Stephen Kitt Sun, 08 Sep 2013 20:16:43 +0200 mingw-w64 (3.0~svn5915-1) unstable; urgency=low * New upstream snapshot. * Merge from experimental, tracking upstream trunk (required for wine-gecko 1.6 and later, and gcc 4.8 and later). Other than the different upstream, the changes are as follows: - Build genpeimg, libwinpthreads (which replaces libpthreads-mingw-w64), libwinstorecompat and widl. - Drop unused contexts and add missing CPU information for widl on ia64, s390 and s390x. - Rework debian/rules to use declarative rules and recipes, working towards making parallel builds possible. - Specify the full target prefix as required since 5197. * Fix target mangling to build on hurd-i386. * Make DLLs non-executable and drop .la files. -- Stephen Kitt Mon, 24 Jun 2013 19:25:37 +0200 mingw-w64 (2.0.8-1) unstable; urgency=low * New upstream release. * Switch to my Debian address and drop DM-Upload-Allowed. * Use dh_autoreconf to update all the autotools-generated files and allow multiple builds in a row. * Use canonical VCS URIs. * Build libmangle for the current architecture, it's intended for gendef; use it to build gendef. * Enable hardened builds for gendef and genidl. * Fix another spelling mistake in gendef (via libmangle). * Standards-Version 3.9.4, no change required. -- Stephen Kitt Sat, 11 May 2013 23:37:22 +0200 mingw-w64 (2.0.3-1) unstable; urgency=low * New upstream release. * Split the -dev package into 32- and 64-bit variants. * Fix "Error when including dshow.h" by ensuring all SDKs are enabled throughout the build. (Closes: #661442) -- Stephen Kitt Thu, 10 May 2012 17:56:59 +0200 mingw-w64 (2.0.2-1) unstable; urgency=low * New upstream release. * Following the gcc-mingw-w64 package split, make mingw-w64 depend on gcc-mingw-w64 and g++-mingw-w64, and correct the description appropriately. * Update watch file to take into account any upstream tarball. * Standards-Version 3.9.3, no change required. * Make sure we get the split gcc-mingw-w64 packages (to avoid attempting a build with only the architecture-independent gcc-mingw- w64 package). -- Stephen Kitt Wed, 18 Apr 2012 00:33:40 +0200 mingw-w64 (2.0.1+svn4784-2) unstable; urgency=low * Mention "x86" and "x64" as used on Windows (see thread starting at http://lists.debian.org/4EBA730A.7060707@greffrath.com for rationale; the 32-/64-bit split will come later). * Enable secure API (required in particular for newer versions of Wine Gecko). * Allow bootstrapping again (thanks to Sam Morris for pointing out that bootstrapping the mingw-w64 package set no longer worked!). -- Stephen Kitt Wed, 15 Feb 2012 01:00:43 +0100 mingw-w64 (2.0.1+svn4784-1) unstable; urgency=low * New upstream snapshot. - Builds libmsi.a for i686. (Closes: #652362.) - Includes fixed asprintf as requested by Rafaël Carré. -- Stephen Kitt Tue, 31 Jan 2012 22:57:13 +0100 mingw-w64 (2.0.1-1) unstable; urgency=low * New upstream release (notably adding GDI+ support). * Drop imagehlp-fix.patch, included upstream. -- Stephen Kitt Mon, 21 Nov 2011 23:05:31 +0100 mingw-w64 (2.0-2) unstable; urgency=low * Disable dpkg-buildflags hardening. (LP: #880726.) * Apply upstream fix for imagehlp.h's extern "C" declarations (in particular this is required to build Ekiga). -- Stephen Kitt Mon, 24 Oct 2011 22:39:43 +0200 mingw-w64 (2.0-1) unstable; urgency=low * New upstream release. -- Stephen Kitt Thu, 13 Oct 2011 00:41:25 +0200 mingw-w64 (2.0~rc3-1) unstable; urgency=low [ Stephen Kitt ] * New upstream release candidate. [ Didier Raboud ] * Confidently setting the DM-Upload-Allowed flag to yes. -- Stephen Kitt Mon, 10 Oct 2011 10:39:38 +0200 mingw-w64 (2.0~rc2-1) unstable; urgency=low * New upstream release candidate. - Includes fixed d2d1.h. (Closes: #638620.) * Simplify debian/rules. * Add "Architecture: any" mingw-w64-tools package to ship gendef and genidl. * Provide manpages for gendef and genidl. * Ship libmangle and libpseh in mingw-w64-dev (32-bit only for libpseh). * Correct debian/copyright ("Upstream-Name" instead of "Name", correct license for mingw-w64-headers/ddk/include/ddk/csq.h). * Add spelling-fix.patch to fix small spelling mistake in gendef. -- Stephen Kitt Thu, 06 Oct 2011 23:32:07 +0200 mingw-w64 (2.0~rc1-1) unstable; urgency=low * New upstream release candidate. * mingw-w64 now provides __uuidof() where necessary. (Closes: #625497.) * Removed patches: - 01-guiddef-svn-3715.patch, originally taken from upstream; - 02-get_codepage.patch, fixed differently; - 03-gcc-4.6-float.patch, no longer relevant (mingw-w64 no longer ships float.h). * Add empty build-arch target (policy 4.9). -- Stephen Kitt Sun, 07 Aug 2011 23:02:01 +0200 mingw-w64 (1.0+20110523-1) unstable; urgency=low * New upstream snapshot. * This version and the previous breaks the gcc-4.5-based gcc-mingw- w64. * Properly specify the format of debian/copyright. -- Stephen Kitt Mon, 13 Jun 2011 23:06:42 +0200 mingw-w64 (1.0+20110428-1) unstable; urgency=low * New upstream snapshot. * Enable all SDKs, including DirectX. (Closes: #625496.) * Correctly define arch and indep targets and dependencies. * Standards-Version 3.9.2, no change required. * Use MinGW version of mb_wc_common.h. (Closes: #626437.) * Update float.h to include gcc 4.6 changes. -- Stephen Kitt Sat, 04 Jun 2011 00:52:35 +0200 mingw-w64 (1.0+20101003-1) unstable; urgency=low * New maintainer. (Closes: #594371.) * New upstream snapshot: - Includes getopt.h. (Closes: #569914.) * Build g++ for Win64. (Closes: #600451.) * Standards-Version 3.9.1 (new packaging). * Include patch from http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?view=revision&revision=3715 as suggested by Rafaël Carré. -- Stephen Kitt Thu, 18 Nov 2010 00:04:46 +0100 mingw-w64 (0~20100125-3) unstable; urgency=low * Switch to Architecture: all. It's meant to have the same content regardless of the Debian arch that hosts it. -- Robert Millan Sat, 30 Jan 2010 02:08:57 +0100 mingw-w64 (0~20100125-2) unstable; urgency=low * Match directory name used by gcc-mingw32. -- Robert Millan Tue, 26 Jan 2010 16:17:25 +0100 mingw-w64 (0~20100125-1) unstable; urgency=low * Initial release. (Closes: #566907) -- Robert Millan Mon, 25 Jan 2010 22:58:25 +0100 debian/source/0000755000000000000000000000000012161257205010467 5ustar debian/source/format0000644000000000000000000000001412161257205011675 0ustar 3.0 (quilt) debian/control0000644000000000000000000000673212263706524010610 0ustar Source: mingw-w64 Section: devel Priority: extra Maintainer: Stephen Kitt Build-Depends: debhelper (>= 7.0.50~), dh-autoreconf, automake (>= 1:1.14) Build-Depends-Indep: gcc-mingw-w64-i686 | gcc-mingw-w64-bootstrap (>= 4.6.0), gcc-mingw-w64-x86-64 | gcc-mingw-w64-bootstrap (>= 4.6.0) Standards-Version: 3.9.5 Homepage: http://mingw-w64.sf.net Vcs-Git: git://anonscm.debian.org/collab-maint/mingw-w64.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/mingw-w64.git;a=summary Package: mingw-w64-common Architecture: all Depends: ${misc:Depends} Description: Common files for Mingw-w64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains files common to both 32- and 64-bit targets. Package: mingw-w64-i686-dev Architecture: all Depends: ${misc:Depends}, mingw-w64-common Breaks: gcc-mingw-w64 (<< 4.6.0), mingw-w64-dev (<< 2.0.3-1), mingw-w64-dev (= 3.0~svn4933-1), libpthreads-mingw-w64 Replaces: mingw-w64-dev (<< 2.0.3-1), mingw-w64-dev (= 3.0~svn4933-1), libpthreads-mingw-w64 Description: Development files for MinGW-w64 targeting Win32 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the headers and libraries required to build 32-bit software using MinGW-w64. Package: mingw-w64-x86-64-dev Architecture: all Depends: ${misc:Depends}, mingw-w64-common Breaks: gcc-mingw-w64 (<< 4.6.0), mingw-w64-dev (<< 2.0.3-1), mingw-w64-dev (= 3.0~svn4933-1), libpthreads-mingw-w64 Replaces: mingw-w64-dev (<< 2.0.3-1), mingw-w64-dev (= 3.0~svn4933-1), libpthreads-mingw-w64 Description: Development files for MinGW-w64 targeting Win64 MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains the headers and libraries required to build 64-bit software using MinGW-w64. Package: mingw-w64 Architecture: all Depends: gcc-mingw-w64, g++-mingw-w64 | gcc-mingw-w64 (<< 4.6.3-3+4), ${misc:Depends} Description: Development environment targetting 32- and 64-bit Windows MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This metapackage provides the MinGW-w64 development environment, including C and C++ compilers. Ada, Fortran, Objective-C and Objective-C++ compilers are available respectively in the gnat-mingw-w64, gfortran-mingw-w64, gobjc-mingw-w64 and gojbc++-mingw-w64 packages. Package: mingw-w64-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, pkg-config Provides: pkg-config-mingw-w64-i686, pkg-config-mingw-w64-x86-64 Description: Development tools for 32- and 64-bit Windows MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This package contains: * gendef, which extracts DLL exports from Windows executables; * genidl, which extracts IDL information from Windows executables; * genpeimg, which manipulates PE flags in Windows executables; * widl, which generates build files from IDL descriptions; * pkg-config symlinks to allow .pc-based libraries to be used. debian/mingw-w64-tools.links0000644000000000000000000000047612217276222013137 0ustar usr/share/pkg-config-crosswrapper usr/bin/i686-w64-mingw32-pkg-config usr/share/man/man1/pkg-config.1.gz usr/share/man/man1/i686-w64-mingw32-pkg-config.1.gz usr/share/pkg-config-crosswrapper usr/bin/x86_64-w64-mingw32-pkg-config usr/share/man/man1/pkg-config.1.gz usr/share/man/man1/x86_64-w64-mingw32-pkg-config.1.gz debian/compat0000644000000000000000000000000212220134444010360 0ustar 7 debian/rules0000755000000000000000000001570412237706535010267 0ustar #!/usr/bin/make -f # -*- makefile -*- # Build mingw-w64. SHELL=/bin/bash # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 top_dir := $(shell pwd) build_dir := $(top_dir)/build deb_version := $(shell dpkg-parsechangelog | sed -ne "s/^Version: \(.*\)/\1/p") deb_upstream_version := $(shell echo $(deb_version) | cut -d- -f1) gnu_upstream_version := $(shell echo $(deb_upstream_version) | cut -d. -f1-3) # Target architectures target32 := i686-w64-mingw32 target64 := x86_64-w64-mingw32 targets := $(target32) $(target64) # Host architecture host := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) # Host-based tools HOST_TOOLS := gendef genidl genpeimg # Targetted tools TARGET_TOOLS := widl # Targetted projects TARGET_PROJECTS := crt libraries-libmangle libraries-winstorecompat libraries-winpthreads TARGET32_PROJECTS := libraries-pseh # No hardening support for now, except in the tools (build-arch-stamp) dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS="hardening=-all" dpkg-buildflags CFLAGS = $(shell $(dpkg_buildflags) --get CFLAGS) CPPFLAGS = $(shell $(dpkg_buildflags) --get CPPFLAGS) CXXFLAGS = $(shell $(dpkg_buildflags) --get CXXFLAGS) FFLAGS = $(shell $(dpkg_buildflags) --get FFLAGS) LDFLAGS = $(shell $(dpkg_buildflags) --get LDFLAGS) export CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS clean: dh_testdir dh_testroot dh_autoreconf_clean dh_clean rm -rf $(build_dir) $(upstream_dir) autotools_files series tmp *-stamp debian/autoreconf CONFFLAGS = --prefix=/usr debian/autoreconf: find $(top_dir) -name configure.ac | xargs -n 1 dirname > $@ autoreconf-stamp: debian/autoreconf dh_autoreconf touch $@ # General rules # Format: host~target~source-folder # E.g. i486-linux-gnu~i686-w64-mingw32~tools/widl to build a 32-bit # Linux-hosted widl targeting 32-bit Windows rulehost = $(word 1,$(subst ~, ,$(1))) ruletarget = $(word 2,$(subst ~, ,$(1))) rulepart = $(word 1,$(subst -, ,$(word 3,$(subst ~, ,$(1))))) rulefolder = $(word 2,$(subst -, ,$(word 3,$(subst ~, ,$(1))))) sourcefolder = $(top_dir)/mingw-w64-$(call rulepart,$(1))/$(call rulefolder,$(1)) buildfolder = $(build_dir)/$(call rulehost,$(1))-$(call ruletarget,$(1))-$(call rulepart,$(1))$(call rulefolder,$(1)) ###################################################################### # Tools # gendef requires libmangle $(host)~$(host)~tools-gendef-configure-stamp: autoreconf-stamp $(host)~$(host)~libraries-libmangle-install-stamp dh_auto_configure -D$(call sourcefolder,$(host)~$(host)~tools-gendef) -B$(call buildfolder,$(host)~$(host)~tools-gendef) -- --with-mangle=$(top_dir)/debian/tmp/usr $(shell dpkg-buildflags --export=configure) touch $@ build-arch-stamp: $(patsubst %,$(host)~$(host)~tools-%-install-stamp,$(HOST_TOOLS)) $(foreach target,$(targets),$(patsubst %,$(host)~$(target)~tools-%-install-stamp,$(TARGET_TOOLS))) touch $@ ###################################################################### # Libraries # Override the header configuration %~headers-configure-stamp: autoreconf-stamp dh_auto_configure -D$(call sourcefolder,$*~headers) -B$(call buildfolder,$*~headers) -- --prefix=/usr/$(call ruletarget,$*~headers) --host=$(call rulehost,$*~headers) --enable-sdk=all --enable-secure-api touch $*-headers-configure-stamp # Override CRT configuration to avoid multilib builds target32crt := $(target32)~$(target32)~crt $(target32crt)-configure-stamp: $(target32)~$(target32)~headers-install-stamp autoreconf-stamp CPPFLAGS="$(CPPFLAGS) -I$(top_dir)/debian/tmp/usr/$(call ruletarget,$(target32crt))/include" dh_auto_configure -D$(call sourcefolder,$(target32crt)) -B$(call buildfolder,$(target32crt)) -- --prefix=/usr/$(call ruletarget,$(target32crt)) --host=$(call rulehost,$(target32crt)) --target=$(call ruletarget,$(target32crt)) --enable-lib32 --disable-lib64 touch $@ target64crt := $(target64)~$(target64)~crt $(target64crt)-configure-stamp: $(target64)~$(target64)~headers-install-stamp autoreconf-stamp CPPFLAGS="$(CPPFLAGS) -I$(top_dir)/debian/tmp/usr/$(call ruletarget,$(target64crt))/include" dh_auto_configure -D$(call sourcefolder,$(target64crt)) -B$(call buildfolder,$(target64crt)) -- --prefix=/usr/$(call ruletarget,$(target64crt)) --host=$(call rulehost,$(target64crt)) --target=$(call ruletarget,$(target64crt)) --disable-lib32 --enable-lib64 touch $@ build-indep-stamp: $(foreach target,$(targets),$(patsubst %,$(target)~$(target)~%-install-stamp,$(TARGET_PROJECTS))) $(patsubst %,$(target32)~$(target32)~%-install-stamp,$(TARGET32_PROJECTS)) # Move DLLs to lib, change their permissions to 644, drop .la files for target in $(targets); do \ mv $(top_dir)/debian/tmp/usr/$$target/bin/*.dll $(top_dir)/debian/tmp/usr/$$target/lib/; \ rmdir $(top_dir)/debian/tmp/usr/$$target/bin; \ chmod 644 $(top_dir)/debian/tmp/usr/$$target/lib/*.dll; \ rm $(top_dir)/debian/tmp/usr/$$target/lib/*.la; \ done touch $@ build: build-indep build-arch build-arch: build-arch-stamp build-indep: build-indep-stamp binary-indep: build-indep dh $@ binary-arch: build-arch dh $@ binary: binary-indep binary-arch # If we're targetting the build host, configure for hardening # If we're targetting the target host, disable hardening (see above), # change the prefix and use the new headers %-configure-stamp: autoreconf-stamp if [ "$(call rulehost,$*)" = "$(host)" ]; then \ dh_auto_configure -D$(call sourcefolder,$*) -B$(call buildfolder,$*) -- $(shell dpkg-buildflags --export=configure) --host=$(call rulehost,$*) --target=$(call ruletarget,$*); \ else \ CPPFLAGS="$(CPPFLAGS) -I$(top_dir)/debian/tmp/usr/$(call ruletarget,$*)/include" dh_auto_configure -D$(call sourcefolder,$*) -B$(call buildfolder,$*) -- --prefix=/usr/$(call ruletarget,$*) --host=$(call rulehost,$*) --target=$(call ruletarget,$*); \ fi touch $*-configure-stamp %-build-stamp: %-configure-stamp dh_auto_build -D$(call sourcefolder,$*) -B$(call buildfolder,$*) touch $*-build-stamp %-install-stamp: %-build-stamp dh_auto_install -D$(call sourcefolder,$*) -B$(call buildfolder,$*) touch $*-install-stamp override_dh_install-indep: # Move duplicate files to mingw-w64-common reftarget=$$(echo $(targets) | cut -d\ -f1); \ testtargets=$$(echo $(targets) | cut -d\ -f2-); \ for file in $$(cd debian/tmp/usr/$$reftarget; find . -name \*.h); do \ duptargets=$$reftarget; \ for testtarget in $$testtargets; do \ if [ -f debian/tmp/usr/$$testtarget/$$file ]; then \ if cmp debian/tmp/usr/$$reftarget/$$file debian/tmp/usr/$$testtarget/$$file; then \ duptargets="$$duptargets $$testtarget"; \ fi; \ fi; \ done; \ if [ "$$duptargets" != "$$reftarget" ]; then \ mkdir -p debian/mingw-w64-common/usr/share/mingw-w64/$$(dirname $$file); \ cp debian/tmp/usr/$$reftarget/$$file debian/mingw-w64-common/usr/share/mingw-w64/$$file; \ for duptarget in $$duptargets; do \ rm -f debian/tmp/usr/$$duptarget/$$file; \ ln -sf /usr/share/mingw-w64/$$file debian/tmp/usr/$$duptarget/$$file; \ done; \ fi; \ done # Do the rest of the installation dh_install -i .PHONY: binary-indep binary-arch binary clean build-indep build-arch build install debian/i686-w64-mingw32-widl.10000644000000000000000000001234212217300244012600 0ustar .TH WIDL 1 "October 2007" "MinGW-w64" "Wine Developers Manual" .SH NAME widl \- Wine Interface Definition Language (IDL) compiler .SH SYNOPSIS .B widl [\fIoptions\fR] \fIIDL_file\fR .br .B widl [\fIoptions\fR] \fB--dlldata-only\fR \fIname1\fR [\fIname2\fR...] .SH DESCRIPTION When no options are used the program will generate a header file, and possibly client and server stubs, proxy and dlldata files, a typelib, and a UUID file, depending on the contents of the IDL file. If any of the options \fB-c\fR, \fB-h\fR, \fB-p\fR, \fB-s\fR, \fB-t\fR, \fB-u\fR or \fB--local-stubs\fR is given, .B widl will only generate the requested files, and no others. When run with \fB--dlldata-only\fR, widl will only generate a dlldata file, and it will contain a list of the names passed as arguments. Usually the way this file is updated is that each time .B widl is run, it reads any existing dlldata file, and if necessary regenerates it with the same list of names, but with the present proxy file included. .PP When run without any arguments, .B widl will print a help message. .PP .SH OPTIONS .PP .B General options: .IP "\fB-V\fR" Print version number and exit. .IP "\fB-o, --output=\fIname" Set the name of the output file. When generating multiple output files, this sets only the base name of the file; the respective output files are then named \fIname\fR.h, \fIname\fR_p.c, etc. .IP "\fB-b \fIcpu-manufacturer\fR[\fB-\fIkernel\fR]\fB-\fIos\fR" Set the target architecture when cross-compiling. The target specification is in the standard autoconf format as returned by \fBconfig.sub\fR. .PP .B Header options: .IP "\fB-h\fR" Generate header files. The default output filename is \fIinfile\fB.h\fR. .IP "\fB--oldnames\fR" Use old naming conventions. .PP .B Type library options: .IP \fB-t\fR Generate a type library. The default output filename is \fIinfile\fB.tlb\fR. If the output file name ends in \fB.res\fR, a binary resource file containing the type library is generated instead. .IP "\fB-m32, -m64\fR" Generate a Win32 or Win64 type library respectively. .PP .B UUID file options: .IP "\fB-u\fR" Generate a UUID file. The default output filename is \fIinfile\fB_i.c\fR. .PP .B Proxy/stub generation options: .IP "\fB-c\fR" Generate a client stub file. The default output filename is \fIinfile\fB_c.c\fR. .IP "\fB-Os\fR" Generate inline stubs. .IP "\fB-Oi\fR" Generate old-style interpreted stubs. .IP "\fB-Oif, -Oic, -Oicf\fR" Generate new-style fully interpreted stubs. .IP "\fB-p\fR" Generate a proxy. The default output filename is \fIinfile\fB_p.c\fR. .IP "\fB--prefix-all=\fIprefix\fR" Prefix to put on the name of both client and server stubs. .IP "\fB--prefix-client=\fIprefix\fR" Prefix to put on the name of client stubs. .IP "\fB--prefix-server=\fIprefix\fR" Prefix to put on the name of server stubs. .IP "\fB-s\fR" Generate a server stub file. The default output filename is \fIinfile\fB_s.c\fR. .IP "\fB--win32\fR, \fB--win64\fR" Only generate 32-bit or 64-bit code respectively (the default is to generate both 32-bit and 64-bit versions into the same destination file). .PP .IP "\fB--rt\fR" Enable additional language extensions for IDL to support WinRT. .PP .B Registration script options: .IP "\fB-r\fR" Generate a registration script. The default output filename is \fIinfile\fB_r.rgs\fR. If the output file name ends in \fB.res\fR, a binary resource file containing the script is generated instead. .PP .B Dlldata file options: .IP "\fB--dlldata-only\fI name1 \fR[\fIname2\fR...]" Regenerate the dlldata file from scratch using the specified proxy names. The default output filename is \fBdlldata.c\fR. .PP .B Preprocessor options: .IP "\fB-I \fIpath\fR" Add a header search directory to path. Multiple search directories are allowed. .IP "\fB-D \fIid\fR[\fB=\fIval\fR]" Define preprocessor macro \fIid\fR with value \fIval\fR. .IP "\fB-E\fR" Preprocess only. .IP "\fB-N\fR" Do not preprocess input. .PP .B Debug options: .IP "\fB-W\fR" Enable pedantic warnings. .IP "\fB-d \fIn\fR" Set debug level to the non negative integer \fIn\fR. If prefixed with \fB0x\fR, it will be interpreted as an hexadecimal number. For the meaning of values, see the \fBDEBUG\fR section. .PP .B Miscellaneous options: .IP "\fB-app_config\fR" Ignored, present for midl compatibility. .IP "\fB--local-stubs=\fIfile\fR" Generate empty stubs for call_as/local methods in an object interface and write them to \fIfile\fR. .PP .SH DEBUG Debug level \fIn\fR is a bitmask with the following meaning: * 0x01 Tell which resource is parsed (verbose mode) * 0x02 Dump internal structures * 0x04 Create a parser trace (yydebug=1) * 0x08 Preprocessor messages * 0x10 Preprocessor lex messages * 0x20 Preprocessor yacc trace .SH BUGS Bugs can be reported on the .UR http://bugs.winehq.org .B Wine bug tracker .UE . .SH AUTHORS .B widl was originally written by Ove Kåven. It has been improved by Rob Shearman, Dan Hipschman, and others. For a complete list, see the git commit logs. This man page was originally written by Hannu Valtonen and then updated by Dan Hipschman. .SH AVAILABILITY .B widl is part of the Wine distribution, which is available through WineHQ, the .UR http://www.winehq.org/ .B Wine development headquarters .UE . .SH "SEE ALSO" .UR http://www.winehq.org/help .B Wine documentation and support .UE . debian/mingw-w64-tools.install0000644000000000000000000000004612161257205013454 0ustar usr/bin debian/*.1 usr/share/man/man1