--- mingw32-runtime-3.5.orig/debian/copyright +++ mingw32-runtime-3.5/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Ron Lee + +It's components are available from www.mingw.org. + +The mingw32-runtime source is in the public domain, +the win32api source is licenced as follows: + + + Written by Anders Norlander + URL: http://www.acc.umu.se/~anorland/gnu-win32/ + + Maintained by MinGW Developers + Send bug reports and questions to MinGW-users@lists.sourceforge.net + URL: http://www.mingw.org + +* License + + You are free to use, modify and copy this package. No restrictions + are imposed on programs or object files compiled with this library. + + You may not restrict the the usage of this library. + + You may distribute this library as part of another package or as a + modified package if and only if you do *not* restrict the usage of + the portions consisting of this (optionally modified) library. + + If distributed as part of another package, please notify the author + of what you are going to do. If distributed as a modified package, + this file *must* be included. + + This library 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. + + --- mingw32-runtime-3.5.orig/debian/control +++ mingw32-runtime-3.5/debian/control @@ -0,0 +1,16 @@ +Source: mingw32-runtime +Section: devel +Priority: optional +Build-Depends-Indep: mingw32-binutils, mingw32, debhelper (>=4.0) +Maintainer: Ron Lee +Standards-Version: 3.6.1.1 + +Package: mingw32-runtime +Architecture: all +Recommends: mingw32 +Conflicts: mingw32 (<= 2.95.2-7) +Replaces: mingw32 (<= 2.95.2-7) +Description: Minimalist GNU win32 (cross) runtime + This package contains the target runtime files for a Linux hosted, + win32 target, C/C++ cross compiler. + --- mingw32-runtime-3.5.orig/debian/rules +++ mingw32-runtime-3.5/debian/rules @@ -0,0 +1,173 @@ +#!/usr/bin/make -f +# +# debian/rules file to build the Mingw32 runtime package. +# +# Created 21 Aug 2001, by Ron Lee + +#export DH_VERBOSE=1 + +package = mingw32-runtime +target = i586-mingw32msvc + +top_dir := $(shell pwd) +upstream_dir := $(top_dir)/upstream +patch_dir := $(top_dir)/debian/patches +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)*)))) + +mingw_runtime := $(call PACKAGE_BASENAME,mingw-runtime) +win32api := $(call PACKAGE_BASENAME,w32api) + +ifneq ($(words $(mingw_runtime)),1) + $(error mingw_runtime defined as '$(mingw_runtime)') +endif + +ifneq ($(words $(win32api)),1) + $(error win32api defined as '$(win32api)') +endif + + +build : build-win32api-stamp build-mingw-stamp + +configure-win32api-stamp : unpack-stamp + dh_testdir + mkdir -p $(build_objs)/$(win32api) + + cd $(build_objs)/$(win32api) \ + && $(build_src)/$(win32api)/configure -v \ + --prefix=/usr \ + --host=$(target) \ + --target=$(target) \ + --build=`$(build_src)/$(win32api)/config.guess` \ + --includedir=$(top_dir)/debian/$(package)/usr/$(target)/include \ + --libdir=$(top_dir)/debian/$(package)/usr/$(target)/lib + touch $@ + +build-win32api-stamp : configure-win32api-stamp + dh_testdir + cd $(build_objs)/$(win32api) && $(MAKE) + + touch $@ + +configure-mingw-stamp : unpack-stamp + dh_testdir + mkdir -p $(build_objs)/$(mingw_runtime) + + cd $(build_objs)/$(mingw_runtime) \ + && $(build_src)/$(mingw_runtime)/configure -v \ + --prefix=/usr \ + --host=$(target) \ + --target=$(target) \ + --build=`$(build_src)/$(win32api)/config.guess` \ + --includedir=$(top_dir)/debian/$(package)/usr/$(target)/include \ + --libdir=$(top_dir)/debian/$(package)/usr/$(target)/lib + touch $@ + +build-mingw-stamp : configure-mingw-stamp + dh_testdir + cd $(build_objs)/$(mingw_runtime) && $(MAKE) + + touch $@ + + +install : preinstall-stamp install-win32api-stamp install-mingw-stamp + # remove mingwm10.dll from bin, it's billware runtime only + # so we install it in DOCDIR instead. + $(RM) -r $(top_dir)/debian/$(package)/usr/bin + + # w32api2.5 installs some things in /usr/doc. + # Remove that dir for FHS complience, anything valuable should already be + # installed in /usr/share/doc by the time we get here. + $(RM) -r $(top_dir)/debian/$(package)/usr/doc + +install-win32api-stamp : build-win32api-stamp preinstall-stamp + dh_testdir + dh_testroot + cd $(build_objs)/$(win32api) \ + && $(MAKE) install prefix=$(top_dir)/debian/$(package)/usr \ + mandir=$(top_dir)/debian/$(package)/usr/share/man + touch $@ + +install-mingw-stamp : build-mingw-stamp preinstall-stamp + dh_testdir + dh_testroot + cd $(build_objs)/$(mingw_runtime) \ + && $(MAKE) install prefix=$(top_dir)/debian/$(package)/usr \ + mandir=$(top_dir)/debian/$(package)/usr/share/man + touch $@ + + +preinstall-stamp: + dh_testdir + dh_testroot + dh_clean -k + + dh_installdirs usr/share/lintian/overrides + # 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 $(mingw_runtime) $(win32api); 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; + + # fix bogus mingw package & dir names +# mv $(build_src)/mingw-runtime* $(build_src)/$(mingw_runtime) +# mv $(build_src)/w32api* $(build_src)/$(win32api) + ln -s $(win32api) $(build_src)/w32api + + # apply any patches + @cd $(build_src) && \ + for p in $(wildcard $(patch_dir)/*.patch); do \ + patch -p0 < $$p; \ + 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 $(build_objs)/$(mingw_runtime)/mingwm10.dll + dh_installchangelogs + dh_strip -Xusr/$(target)/lib + $(target)-strip --strip-debug debian/$(package)/usr/$(target)/lib/*.a + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: binary-indep binary-arch binary clean build install + --- mingw32-runtime-3.5.orig/debian/changelog +++ mingw32-runtime-3.5/debian/changelog @@ -0,0 +1,112 @@ +mingw32-runtime (3.5-1) unstable; urgency=low + + * runtime-3.5 / w32api-3.1 + * Patch from 3.3-2 now incorporated upstream. + + -- Ron Lee Wed, 10 Nov 2004 17:03:02 +1030 + +mingw32-runtime (3.3-2) unstable; urgency=high + + * Added patch for a typo pointed out by Fabian Wenzel which + prevents apps that use ocidl.h from compiling. + No other changes, this update should progress to testing asap. + + -- Ron Lee Thu, 19 Aug 2004 04:55:54 +0930 + +mingw32-runtime (3.3-1) unstable; urgency=low + + * runtime-3.3 / w32api-2.5. + * mingw 3.3.3 and 3.4.1 both seem flakey, but the new runtime has many + fixes worth incorporating before the freeze, so this is a runtime + update for the existing 3.3.1 compiler release. + + -- Ron Lee Tue, 3 Aug 2004 16:04:31 +0930 + +mingw32-runtime (3.2-1) unstable; urgency=low + + * runtime-3.2 / w32api-2.4. Closes: #192179, #187431 + * includes vfw.h Closes: #166491 + + -- Ron Lee Sun, 26 Oct 2003 17:38:51 +1030 + +mingw32-runtime (2.3-1) unstable; urgency=low + + * runtime-2.3 / w32api-2.1. + * Includes GL and ddk support. + * Includes SHGFI_ATTR_SPECIFIED. Closes: #140534 + * Made package arch all to kickstart buildd for the binutils/gcc packages. + + -- Ron Lee Thu, 23 Jan 2003 21:33:30 -0800 + +mingw32-runtime (2.2-1) unstable; urgency=low + + * runtime-2.2 / w32api-2.0 release. Closes: #141485 too. + * Built with gcc3.2, expecially since builds of 2.95 appear + to have gone (and remained) down the toilet. It appears + to work fine with 2.95, but none of the recent 2.95 + releases actually build anymore. + + -- Ron Lee Wed, 9 Oct 2002 19:41:05 -0700 + +mingw32-runtime (2.1-2) unstable; urgency=low + + * Rebuilt for gcc3.2 + + -- Ron Lee Sat, 24 Aug 2002 12:23:33 -0700 + +mingw32-runtime (2.1-1) unstable; urgency=low + + * runtime-2.1 / w32api-1.5 release. + * Patch forwarded (and applied) upstream. Closes: #140534 + * Patch from #141485 not yet applied upstream, status currently unknown. + + -- Ron Lee Thu, 22 Aug 2002 13:35:40 -0700 + +mingw32-runtime (2.0-1) unstable; urgency=low + + * runtime-2.0 / w32api-1.5 release. + + -- Ron Lee Mon, 15 Jul 2002 19:53:18 -0700 + +mingw32-runtime (1.2-1) unstable; urgency=medium + + * New upstream runtime and w32api release. + + -- Ron Lee Fri, 7 Dec 2001 15:09:54 -0800 + +mingw32-runtime (1.1-2) unstable; urgency=low + + * Rebuilt with gcc-2.95.3-7 + + -- Ron Lee Tue, 13 Nov 2001 18:46:35 -0800 + +mingw32-runtime (1.1-1) unstable; urgency=low + + * New upstream mingw-runtime. + + -- Ron Lee Mon, 17 Sep 2001 09:51:44 -0700 + +mingw32-runtime (1.0.1.20010915-1) unstable; urgency=low + + * New upstream w32api. + + -- Ron Lee Sun, 16 Sep 2001 23:23:53 -0700 + +mingw32-runtime (1.0.1-2) unstable; urgency=low + + * rebuild with gcc-2.95.3-6 after a change to the + struct offset. + + -- Ron Lee Tue, 28 Aug 2001 15:43:52 -0700 + +mingw32-runtime (1.0.1-1) unstable; urgency=low + + * split runtime out from toolchain package to accommodate + new upstream packaging and later hopes of merging with + 'mainstream' gcc/binutils. + + -- Ron Lee Fri, 10 Aug 2001 11:41:57 -0700 + +Local variables: +mode: debian-changelog +End: --- mingw32-runtime-3.5.orig/debian/lintian-overrides +++ mingw32-runtime-3.5/debian/lintian-overrides @@ -0,0 +1,3 @@ +mingw32-runtime: non-standard-dir-in-usr +mingw32-runtime: file-in-unusual-dir +mingw32-runtime: arch-independent-package-contains-binary-or-object --- mingw32-runtime-3.5.orig/debian/compat +++ mingw32-runtime-3.5/debian/compat @@ -0,0 +1 @@ +4 --- mingw32-runtime-3.5.orig/debian/README.Debian +++ mingw32-runtime-3.5/debian/README.Debian @@ -0,0 +1,7 @@ + +The mingwm10.dll file here is required at runtime. You'll need to +copy it to wherever your favorite billware runtime dll's are found. + + Ron + +