--- mingw32-binutils-2.17.50-20070129.1.orig/debian/copyright +++ mingw32-binutils-2.17.50-20070129.1/debian/copyright @@ -0,0 +1,7 @@ +This package was debianized by Ron Lee +using upstream sources obtained from www.mingw.org + +binutils, cygwin/mingw and gcc are all licenced under the terms of +the GNU GPL. A copy of it can be found in /usr/share/common-licenses +on Debian systems. + --- mingw32-binutils-2.17.50-20070129.1.orig/debian/control +++ mingw32-binutils-2.17.50-20070129.1/debian/control @@ -0,0 +1,22 @@ +Source: mingw32-binutils +Section: devel +Priority: optional +Build-Depends: debhelper (>= 4.0), gettext, bison, flex, perl, texinfo +Maintainer: Ron Lee +Standards-Version: 3.7.2.2 + +Package: mingw32-binutils +Architecture: any +Suggests: mingw32 +Depends: ${shlibs:Depends} +Conflicts: mingw32 (<< 2.95.3.8) +Description: Minimalist GNU win32 (cross) binutils + A Linux hosted, win32 target, cross compiler for C/C++ + . + Freedom through obsolescence. Those who still really need to + can now build windows executables from the comfort of Debian. + . + This package contains the toolchain binutils. It is separate + only for build reasons, you'll need all the mingw* packages + to actually build anything. + --- mingw32-binutils-2.17.50-20070129.1.orig/debian/rules +++ mingw32-binutils-2.17.50-20070129.1/debian/rules @@ -0,0 +1,120 @@ +#!/usr/bin/make -f +# +# debian/rules file to build a Mingw32 cross compiler toolchain. +# +# Created 30 Jan 2001, by Ron Lee + +#export DH_VERBOSE=1 + +package = mingw32-binutils +target = i586-mingw32msvc + +top_dir := $(shell pwd) +upstream_dir := $(top_dir)/upstream +build_dir := $(top_dir)/build_dir +build_src := $(build_dir)/src +build_objs := $(build_dir)/objs + +PACKAGE_BASENAME = $(patsubst %-src.tar,%,$(basename $(notdir $(wildcard $(upstream_dir)/$(1)*)))) + +binutils := $(call PACKAGE_BASENAME,binutils) + +ifneq ($(words $(binutils)),1) + $(error binutils defined as '$(binutils)') +endif + + +build : build-stamp + +# XXX Work around another gratuitous change in the source dir name. +# They did so well for so long, *sigh*. +# Temporary hack here until we know how permanent this one may be +configure-stamp: binutils_dir := $(binutils)-src +configure-stamp: unpack-stamp + mkdir -p $(build_objs) + cd $(build_objs) \ + && $(build_src)/$(binutils_dir)/configure -v \ + --prefix=/usr \ + --target=$(target) + touch $@ + + +build-stamp : configure-stamp + dh_testdir + cd $(build_objs) && $(MAKE) + + touch $@ + + +install : install-stamp + +install-stamp : build-stamp + dh_testdir + dh_testroot + dh_clean -k + + dh_installdirs usr/share/lintian/overrides + cd $(build_objs) \ + && $(MAKE) install prefix=$(top_dir)/debian/$(package)/usr \ + mandir=$(top_dir)/debian/$(package)/usr/share/man + + # remove some non-cross stuff that will clash with other packages + rm -rf debian/$(package)/usr/info + rm -rf debian/$(package)/usr/lib + rm -rf debian/$(package)/usr/share/locale + + # install override for the non fhs target dir gcc wants to use + # (until we find a better solution or change policy) + cp debian/lintian-overrides debian/$(package)/usr/share/lintian/overrides/$(package) + + touch $@ + + +unpack-stamp: + dh_testdir + mkdir -p $(build_src) + + # unpack upstream tarballs + @cd $(build_src) \ + && for f in $(binutils) ; do \ + echo "unpacking $$f"; \ + if [ -r $(upstream_dir)/$$f-src.tar.gz ]; then \ + tar zxf $(upstream_dir)/$$f-src.tar.gz; \ + elif [ -r $(upstream_dir)/$$f-src.tar.bz2 ]; then \ + tar jxf $(upstream_dir)/$$f-src.tar.bz2; \ + else \ + echo " *** Error: Failed to unpack $$f"; \ + exit 1; \ + fi; \ + done; + + touch $@ + + +clean: + dh_testdir + dh_testroot + rm -rf $(build_dir) *-stamp + dh_clean + + +binary-indep: +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installman debian/$(target)-dllwrap.1 + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: binary-indep binary-arch binary clean build install + --- mingw32-binutils-2.17.50-20070129.1.orig/debian/changelog +++ mingw32-binutils-2.17.50-20070129.1/debian/changelog @@ -0,0 +1,195 @@ +mingw32-binutils (2.17.50-20070129.1-1) unstable; urgency=low + + * New upstream. + + -- Ron Lee Sat, 26 May 2007 16:17:38 +0930 + +mingw32-binutils (2.16.91-20060119.1-2) unstable; urgency=low + + * Experimental build with mingw32-i18n support. + + -- Ron Lee Fri, 24 Feb 2006 19:31:33 +1030 + +mingw32-binutils (2.16.91-20060119.1-1) unstable; urgency=low + + * New upstream. + + -- Ron Lee Sun, 29 Jan 2006 18:50:34 +1030 + +mingw32-binutils (2.16.91-20050827.1-2) unstable; urgency=low + + * Add build-dep for texinfo. + + -- Ron Lee Sat, 8 Oct 2005 18:18:12 +0930 + +mingw32-binutils (2.16.91-20050827.1-1) unstable; urgency=low + + * Fixes FTBFS on AMD64, Closes: #303180 + * Fixes apparent FTBFS on i386, Closes: #329072 + + -- Ron Lee Fri, 7 Oct 2005 12:38:14 +0930 + +mingw32-binutils (2.15.94-20050118.1-1) unstable; urgency=low + + * New upstream. + * Along with updates to the compiler, C++ exception handling + should be functional again now. Closes: #283985 + + -- Ron Lee Mon, 7 Feb 2005 14:34:07 +1030 + +mingw32-binutils (2.15.91.20040904.1-1) unstable; urgency=low + + * New upstream. + * Reportedly Closes: #214881, #251587, #263769 + * No need for gas manpage hack anymore. + + -- Ron Lee Wed, 10 Nov 2004 17:19:21 +1030 + +mingw32-binutils (2.15.90.20040222.1-1) unstable; urgency=low + + * New upstream. + * Updated rules to automatically determine the upstream package version. + * Override lintian's broken md5sum check that thinks hard links + don't exist. Don't bother telling me they are evil, I've seen + "The ususal suspects". + * Manually install as.1 to work around broken gas install target. + * Added perl to Build-Depends, it is required for generating docs. + + -- Ron Lee Mon, 8 Mar 2004 15:07:42 +1030 + +mingw32-binutils (2.14.90.20030807.1-1) unstable; urgency=low + + * New upstream. + * Ack NMU for new flex, thanks Guus. Fixed upstream now + though so we don't need the workaround anymore. Closes: #191195 + + -- Ron Lee Sun, 26 Oct 2003 17:59:14 +1030 + +mingw32-binutils (2.13.90.20030111.1-1.1) unstable; urgency=low + + * Non-maintainer upload. BSP. + * Make sure lexers can be generated by the latest flex. Closes: #191195 + * Update standards version. + + -- Guus Sliepen Tue, 26 Aug 2003 13:16:17 +0200 + +mingw32-binutils (2.13.90.20030111.1-1) unstable; urgency=low + + * New upstream source. + * Fixed build-dep for bison. Closes: #164934 + * Made package arch any. World domination, here we come... + + -- Ron Lee Thu, 23 Jan 2003 22:04:05 -0800 + +mingw32-binutils (2.13.90.20021006.2-1) unstable; urgency=low + + * Split, or rather unmerged, binutils from the compiler source + package. The one tree builds have been failing too often, + and now too continuously, to think it is used at all by people + without a working installed version to 'help things along'. + This should should also help (if nothing else by further + familiarising me :) with later somehow merging this into + a common binutils source package. + + -- Ron Lee Thu, 10 Oct 2002 17:17:45 -0700 + +mingw32 (2.95.3.8-1) unstable; urgency=low + + * gcc-2.95.3-8-20020922-1, + binutils-2.13.90-20021006-2 (repacked without dir typo) + + -- Ron Lee Wed, 9 Oct 2002 20:07:25 -0700 + +mingw32 (2.95.3.7.1-2) unstable; urgency=low + + * Rebuilt with w32api-2.0 + Closes: #158921 which I can't reproduce and may be related to + #133718. Please reopen if this still doesn't Work For You. + + -- Ron Lee Sun, 1 Sep 2002 17:06:57 -0700 + +mingw32 (2.95.3.7.1-1) unstable; urgency=low + + * New binutils release, rebuilt with 2.1 runtime. + * gasp is gone by some upstream whim. + * Added build-dep for gettext. Closes: #133718 + * Added compilercache symlinks. If would be even nicer if we had a + common mechanism for _all_ such caching wrappers, since a lot of + people seem to be writing them right now.. + + -- Ron Lee Mon, 15 Jul 2002 20:10:41 -0700 + +mingw32 (2.95.3.7-3) unstable; urgency=medium + + * Rebuilt with 1.2 runtime. + + -- Ron Lee Fri, 7 Dec 2001 15:18:00 -0800 + +mingw32 (2.95.3.7-2) unstable; urgency=medium + + * Remove upstream locale files from the package. + Closes: #122052 + + -- Ron Lee Sat, 1 Dec 2001 19:49:43 -0800 + +mingw32 (2.95.3.7-1) unstable; urgency=low + + * New upstream gcc and binutils. + - enables use of fastcall + - fixes a bug in gcc profiling and changes gcc's handling of win32 + threads. + - fixes two long-standing bugs in windres affecting FONT attributes + and child dialog boxes + + -- Ron Lee Tue, 13 Nov 2001 10:10:33 -0700 + +mingw32 (2.95.3.6.20010915-2) unstable; urgency=low + + * Rebuilt with mingw32-runtime-1.1 + + -- Ron Lee Mon, 17 Sep 2001 10:10:33 -0700 + +mingw32 (2.95.3.6.20010915-1) unstable; urgency=low + + * new upstream binutils. + + -- Ron Lee Sun, 16 Sep 2001 22:42:22 -0700 + +mingw32 (2.95.3.6-1) unstable; urgency=low + + * new upstream gcc. Uses 8 byte struct alignment again + like other 'doze compilers. + * Removed headers that conflict with binutils-dev + package. Closes: #110169 + + -- Ron Lee Tue, 28 Aug 2001 14:03:56 -0700 + +mingw32 (2.95.3.5-1) unstable; urgency=low + + * new upstream release(s) + * split runtime files into a separate package, + partly to resolve a circular dep in the build + and partly because this package should one day + merge with the 'mainstream' gcc & binutils source. + * enable version specific runtime libs. Closes: #96052 + * Keeping the target as i586. Closes: #90597 + + -- Ron Lee Fri, 10 Aug 2001 11:41:57 -0700 + +mingw32 (2.95.2.7-2) unstable; urgency=low + + * changed target to i586-mingw32msvc since the target os + won't even run on i386 anyway. + * removed (deprecated) call to dh_testversion + + -- Ron Lee Mon, 19 Mar 2001 06:17:16 -0800 + +mingw32 (2.95.2.7-1) unstable; urgency=low + + * Initial Release. + + -- Ron Lee Mon, 29 Jan 2001 04:47:46 -0800 + +Local variables: +mode: debian-changelog +End: --- mingw32-binutils-2.17.50-20070129.1.orig/debian/lintian-overrides +++ mingw32-binutils-2.17.50-20070129.1/debian/lintian-overrides @@ -0,0 +1,4 @@ +mingw32-binutils: non-standard-dir-in-usr +mingw32-binutils: file-in-unusual-dir +mingw32-binutils: package-contains-hardlink +mingw32-binutils: md5sums-lists-nonexisting-file --- mingw32-binutils-2.17.50-20070129.1.orig/debian/README.Debian +++ mingw32-binutils-2.17.50-20070129.1/debian/README.Debian @@ -0,0 +1,25 @@ + +This package currently should be considered experimental. + +It is however useful enough in it's present form that I've placed +it in the main archive for people to use. There are known issues +both with the compiler and with fhs compliance of gcc cross compilers +in general, all of which will be addressed as suitable solutions are +found. Suggestions and patches are of course welcome. Complaints +about these issues unaccompanied by a clear solution are in general +not helpful. + +The package has been successfully used to build wxWindows (a stress +test also used by the upstream authors) and several simpler pieces +of software. + +Ultimately it should be integrated with the existing binutils and +gcc packages, and with the upstream sources of those packages too. + +In the meantime, I hope it makes your day just a little more pleasant +if you are among the people still providing legacy support for this +particular platform. + + -- Ron + + --- mingw32-binutils-2.17.50-20070129.1.orig/debian/compat +++ mingw32-binutils-2.17.50-20070129.1/debian/compat @@ -0,0 +1 @@ +4 --- mingw32-binutils-2.17.50-20070129.1.orig/debian/i586-mingw32msvc-dllwrap.1 +++ mingw32-binutils-2.17.50-20070129.1/debian/i586-mingw32msvc-dllwrap.1 @@ -0,0 +1,15 @@ +.TH DLLWRAP 1 "26 Oct 2003" "Debian GNU/Linux" +.SH NAME +dllwrap \- Ancient tool for generating PE style dll's. +.SH DESCRIPTION +.B dllwrap +is deprecated. You should not use it for any new code. Use +.B ld \-\-shared +instead. +.SH OPTIONS +.TP +.B \-h, \-\-help +Show summary of options. +.SH AUTHOR +This manual page was written by Ron , +for the Debian project (but may be used by others).