Bug#773490: (pre-upload) unblock: gcc-mingw-w64/14.3
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Hi,
I would like to know if the following changes to gcc-mingw-w64 would
be acceptable for Jessie, before uploading the package to unstable;
they fix #773342, a serious bug filed against mingw32 (upgrading from
Wheezy causes the package to lose its copyright file).
The debdiff is as follows:
diff --git a/debian/changelog b/debian/changelog
index 66f2f44..0a80887 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gcc-mingw-w64 (14.3) unstable; urgency=medium
+
+ * Properly replace /usr/share/doc/mingw32 with a symlink to
+ /usr/share/doc/gcc-mingw-w64-base (Closes: #773342).
+
+ -- Stephen Kitt <skitt@debian.org> Thu, 18 Dec 2014 07:23:13 +0100
+
gcc-mingw-w64 (14.2) unstable; urgency=medium
* Ensure README.Debian is installed in gcc-mingw-w64-base (Closes:
diff --git a/debian/control b/debian/control
index fa12406..9dda194 100644
--- a/debian/control
+++ b/debian/control
@@ -263,6 +263,7 @@ Description: GNU Compiler Collection for MinGW-w64 (base package)
Package: mingw32
Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, gcc-mingw-w64-i686, g++-mingw-w64-i686, mingw32-binutils
Built-Using: gcc-4.9 (= ${gcc:Version})
Description: Minimalist GNU win32 (cross) compiler (transition package)
diff --git a/debian/control.mingw32 b/debian/control.mingw32
index ac89b60..e0d93fa 100644
--- a/debian/control.mingw32
+++ b/debian/control.mingw32
@@ -1,5 +1,6 @@
Package: mingw32
Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, gcc-mingw-w64-i686, g++-mingw-w64-i686, mingw32-binutils
Built-Using: gcc-4.9 (= ${gcc:Version})
Description: Minimalist GNU win32 (cross) compiler (transition package)
diff --git a/debian/rules b/debian/rules
index 38a3782..4370d66 100755
--- a/debian/rules
+++ b/debian/rules
@@ -254,6 +254,9 @@ binary-indep: build-indep
dh_link -i
dh_compress -i
dh_fixperms -i
+# This is the first version where we fix up the /usr/share/doc/mingw32 link
+# Once this is in the archive we'll switch to a first_split_version-style approach
+ echo dir_to_symlink /usr/share/doc/mingw32 /usr/share/doc/gcc-mingw-w64-base $(deb_version)~ mingw32 > debian/mingw32.maintscript
dh_installdeb -i
dh_gencontrol -i -- -v$(deb_version) -Vlocal:Version=$(deb_upstream_version) -Vgcc:Version=$(source_version) -Vsplit:Version=$(first_split_version)
dh_md5sums -i
Note that this package builds using gcc-4.9-source, and allowing it to
transition from unstable to Jessie would effectively mean pulling
unstable's gcc-4.9 source into Jessie too. If necessary I can upload
to unstable and upload again to t-p-u once the unstable package has
aged enough.
unblock gcc-mingw-w64/14.3
Regards,
Stephen
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Reply to: