From 3f23b75d0af7857b04490e00df195ccee6f3e18f Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Tue, 8 Sep 2009 15:25:54 -0600 Subject: [PATCH] update for changes in new version --- debian/copyright | 7 +++++-- debian/rules | 12 +++++++++--- hd-parms.h | 20 ++++++++++++++++++++ std-parms.h | 19 +++++++++++++++++++ 4 files changed, 53 insertions(+), 5 deletions(-) create mode 100644 hd-parms.h create mode 100644 std-parms.h diff --git a/debian/copyright b/debian/copyright index 2e0c303..820fb3f 100644 --- a/debian/copyright +++ b/debian/copyright @@ -7,9 +7,12 @@ Upstream Author: John A Magliacane, KD2BD Copyright: - Copyright John A. Magliacane, KD2BD 1997-2002 + Copyright John A. Magliacane, KD2BD 1997-2009 - GPL +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2 of the License or any later +version. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in the `/usr/share/common-licenses' directory. diff --git a/debian/rules b/debian/rules index 7f47a43..d0413e9 100755 --- a/debian/rules +++ b/debian/rules @@ -8,7 +8,8 @@ build: build-stamp build-stamp: dh_testdir - g++ -Wall -O3 -lm -lbz2 -fomit-frame-pointer itm.cpp splat.cpp -o splat + g++ -Wall -O3 -fomit-frame-pointer -ffast-math itm.cpp splat.cpp -lm -lbz2 -o splat + g++ -Wall -O3 -fomit-frame-pointer -ffast-math itm.cpp splat.cpp -lm -lbz2 -o splat-hd (cd utils ; \ cc -Wall -O3 -fomit-frame-pointer citydecoder.c -o citydecoder) (cd utils ; \ @@ -17,13 +18,16 @@ build-stamp: cc -Wall -O3 -lbz2 -fomit-frame-pointer srtm2sdf.c -o srtm2sdf) (cd utils ; \ cc -Wall -O3 -lz -fomit-frame-pointer fontdata.c -o fontdata) + (cd utils ; \ + cc -Wall -O3 -fomit-frame-pointer -lm bearing.c -o bearing) touch build-stamp clean: dh_testdir dh_testroot - rm -f build-stamp splat - rm -f utils/srtm2sdf utils/fontdata utils/citydecoder utils/usgs2sdf + rm -f build-stamp splat splat-hd + rm -f utils/srtm2sdf utils/fontdata utils/citydecoder utils/usgs2sdf \ + utils/bearing dh_clean install: build @@ -32,10 +36,12 @@ install: build dh_clean -k dh_installdirs cp splat $(CURDIR)/debian/splat/usr/bin + cp splat-hd $(CURDIR)/debian/splat/usr/bin cp utils/citydecoder $(CURDIR)/debian/splat/usr/bin cp utils/usgs2sdf $(CURDIR)/debian/splat/usr/bin cp utils/srtm2sdf $(CURDIR)/debian/splat/usr/bin cp utils/fontdata $(CURDIR)/debian/splat/usr/bin + cp utils/bearing $(CURDIR)/debian/splat/usr/bin cp docs/english/man/splat.man \ $(CURDIR)/debian/splat/usr/share/man/man1/splat.1 diff --git a/hd-parms.h b/hd-parms.h new file mode 100644 index 0000000..5c100a5 --- /dev/null +++ b/hd-parms.h @@ -0,0 +1,20 @@ +// +// Parameters for 1 arc-second high resolution mode of operation +// Generated for Debian packaging by bdale@gag.com on 2009-09-08 +// + +#define HD_MODE 1 + +// how big an area to allow processing in 1 arc-second mode +// 1 x 1 Degrees --------- 52 Megabytes minimum RAM +// 2 x 2 Degrees --------- 225 Megabytes minimum RAM +// 3 x 3 Degrees --------- 468 Megabytes minimum RAM +// 4 x 4 Degrees --------- 855 Megabytes minimum RAM +// 5 x 5 Degrees --------- 1305 Megabytes minimum RAM +// 6 x 6 Degrees --------- 1890 Megabytes minimum RAM +// 7 x 7 Degrees --------- 2565 Megabytes minimum RAM +// 8 x 8 Degrees --------- 3330 Megabytes minimum RAM +#define NUMDEGREES 4 + +#define MAXPAGES (NUMDEGREES*NUMDEGREES) + diff --git a/std-parms.h b/std-parms.h new file mode 100644 index 0000000..5efe0cf --- /dev/null +++ b/std-parms.h @@ -0,0 +1,19 @@ +// +// Parameters for 3 arc-second standard resolution mode of operation +// Generated for Debian packaging by bdale@gag.com on 2009-09-08 +// + +#define HD_MODE 0 + +// how big an area to allow processing in 3 arc-second mode +// 2 x 2 Degrees --------- 25 Megabytes minimum RAM +// 3 x 3 Degrees --------- 52 Megabytes minimum RAM +// 4 x 4 Degrees --------- 95 Megabytes minimum RAM +// 5 x 5 Degrees --------- 145 Megabytes minimum RAM +// 6 x 6 Degrees --------- 210 Megabytes minimum RAM +// 7 x 7 Degrees --------- 285 Megabytes minimum RAM +// 8 x 8 Degrees --------- 370 Megabytes minimum RAM +#define NUMDEGREES 8 + +#define MAXPAGES (NUMDEGREES*NUMDEGREES) + -- 2.30.2