Bug#594380: mingw-w64

2010-10-15 Thread Rafaël Carré
Stephen Kitt (who told his ITA mingw-w64) is preparing a new package
which would separate 32bits  64bits compilers, so I won't work on
gcc-mingw32 and perhaps help him.

-- 
✍ Rafaël Carré ☺


signature.asc
Description: PGP signature


Bug#594380: new upstream version, new maintainer, bugfixes

2010-10-13 Thread Rafaël Carré
owner 594380 !
retitle 594380 ITA: gcc-mingw32 -- The GNU Compiler Collection (cross compiler 
for MingW32 / MingW64)
thanks

gcc-mingw32 (4.5.1-0.1) unstable; urgency=low

  * New upstream release.
  * Enable c++, fortran for amd64 (Fixes #569165, #599530)
  * New maintainer (Fixes #594380)

 -- Rafaël Carré rafael.ca...@gmail.com  Sun, 10 Oct 2010 15:29:09 +0200

I propose myself as the new maintainer.

debdiff is attached, gcc-4.5.1-dfsg.tar.lzma is obtained this way:
$ wget 
http://ftp.de.debian.org/debian/pool/main/g/gcc-4.5/gcc-4.5_4.5.1.orig.tar.gz
$ tar zxf gcc-4.5_4.5.1.orig.tar.gz
$ unxz gcc-4.5.1-dfsg.tar.xz
$ lzma gcc-4.5.1-dfsg.tar

I've run lintian --pedantic and it looked alright to my untrained eye.

Please tell me how to proceed next.

NOTE: the package currently doesn't build because mingw-w64 is too old, but it
builds fine with a recent version (like the recently released 1.0)

I contacted the person who gave his Intention To Adopt mingw-w64 (Bug #594371),
if he doesn't answer I'll propose a new mingw-w64 package and send a new 
debdiff which requires at least this version of mingw-w64.

regards,

-- 
✍ Rafaël Carré ☺
=== modified file 'debian/changelog'
--- debian/changelog	2010-01-29 22:20:35 +
+++ debian/changelog	2010-10-13 20:16:05 +
@@ -1,3 +1,11 @@
+gcc-mingw32 (4.5.1-0.1) unstable; urgency=low
+
+  * New upstream release.
+  * Enable c++, fortran for amd64 (Fixes #569165, #599530)
+  * New maintainer (Fixes #594380)
+
+ -- Rafaël Carré rafael.ca...@gmail.com  Sun, 10 Oct 2010 15:29:09 +0200
+
 gcc-mingw32 (4.4.2-5) unstable; urgency=low
 
   * debian/control: Fix Vcs-* URLs.

=== modified file 'debian/control'
--- debian/control	2010-01-29 22:20:35 +
+++ debian/control	2010-10-13 20:29:11 +
@@ -1,7 +1,7 @@
 Source: gcc-mingw32
 Section: devel
 Priority: extra
-Maintainer: Robert Millan rmh.deb...@aybabtu.com
+Maintainer: Rafaël Carré rafael.ca...@gmail.com
 Build-Depends: cdbs (= 0.4.57),
  debhelper (= 7),
  lzma,
@@ -10,7 +10,9 @@
  mingw-w64 (= 0~20100125-2),
  libgmp3-dev (= 2:4.1),
  libmpfr-dev (= 2.3.2),
-Standards-Version: 3.8.1
+ libmpc-dev (= 0.8.0),
+ zlib1g-dev,
+Standards-Version: 3.9.1
 Homepage: http://gcc.gnu.org/
 Vcs-Bzr: https://alioth.debian.org/anonscm/bzr/collab-maint/gcc-mingw32
 Vcs-Browser: http://bzr.debian.org/loggerhead/collab-maint/gcc-mingw32

=== modified file 'debian/copyright'
--- debian/copyright	2010-01-26 21:39:42 +
+++ debian/copyright	2010-10-13 19:31:21 +
@@ -1,19 +1,21 @@
 Name: GCC for MingW32 build package
-Maintainer: Robert Millan rmh.deb...@aybabtu.com
+Maintainer: Rafaël Carré rafael.ca...@gmail.com
 
 
 Files: debian/*
 Copyright: 2009, Robert Millan rmh.deb...@aybabtu.com
+Copyright: 2010, Rafaël Carré rafael.ca...@gmail.com
 License: GPL-3+
 
-Files: gcc-4.4.0-dfsg.tar.lzma
+Files: gcc-4.5.1-dfsg.tar.lzma
 Copyright: 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
- 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+ 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+ 2010
  Free Software Foundation, Inc.
 License: GPL-3+
 
 
 License: GPL-3+
  On Debian systems the full text of the GNU General Public
- License can be found in the `/usr/share/common-licenses/GPL'
+ License version 3 can be found in the `/usr/share/common-licenses/GPL-3'
  file.

=== modified file 'debian/patches/02_mingw_includedir.diff'
--- debian/patches/02_mingw_includedir.diff	2010-01-26 21:39:42 +
+++ debian/patches/02_mingw_includedir.diff	2010-10-10 13:26:29 +
@@ -1,21 +1,18 @@
-diff -ur gcc-4.4.2/gcc/config.old/i386/mingw32.h gcc-4.4.2/gcc/config/i386/mingw32.h
 gcc-4.4.2/gcc/config.old/i386/mingw32.h	2010-01-25 18:30:39.0 +0100
-+++ gcc-4.4.2/gcc/config/i386/mingw32.h	2010-01-25 18:31:38.0 +0100
-@@ -51,9 +51,9 @@
+diff -ur gcc-4.5.1/gcc/config/i386.old/mingw32.h gcc-4.5.1/gcc/config/i386/mingw32.h
+--- gcc-4.5.1/gcc/config/i386.old/mingw32.h	2010-10-10 15:25:43.698132006 +0200
 gcc-4.5.1/gcc/config/i386/mingw32.h	2010-10-10 15:26:02.768131997 +0200
+@@ -66,7 +66,7 @@
+ /* Override the standard choice of /usr/include as the default prefix
 to try when searching for header files.  */
  #undef STANDARD_INCLUDE_DIR
- #if TARGET_64BIT_DEFAULT
--#define STANDARD_INCLUDE_DIR /mingw/include64
-+#define STANDARD_INCLUDE_DIR /include
- #else
 -#define STANDARD_INCLUDE_DIR /mingw/include
 +#define STANDARD_INCLUDE_DIR /include
- #endif
  #undef STANDARD_INCLUDE_COMPONENT
  #define STANDARD_INCLUDE_COMPONENT MINGW
-diff -ur gcc-4.4.2/gcc/config.old/i386/t-mingw32 gcc-4.4.2/gcc/config/i386/t-mingw32
 gcc-4.4.2/gcc/config.old/i386/t-mingw32	2010-01-25 18:30:39.0 +0100
-+++ gcc-4.4.2/gcc/config/i386/t-mingw32	2010-01-25 18:30:58.0 +0100
+ 
+diff -ur gcc-4.5.1/gcc/config/i386.old/t-mingw32 gcc-4.5.1/gcc/config/i386/t-mingw32
+--- gcc-4.5.1/gcc/config/i386.old/t-mingw32	2010-10-10 15:25:43.698132006 +0200
 gcc