[hamradio-commits] [gcb] 02/02: Change source format to 3.0 (quilt)

Iain Learmonth irl-guest at moszumanska.debian.org
Wed Aug 12 20:21:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

irl-guest pushed a commit to branch master
in repository gcb.

commit 7b429871029779d929944f3ff5739e2905b06550
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Wed Aug 12 21:14:27 2015 +0100

    Change source format to 3.0 (quilt)
---
 .gitignore                             |   1 +
 debian/changelog                       |   1 +
 debian/patches/pre-quilt-changes.patch | 129 +++++++++++++++++++++++++++++++++
 debian/patches/series                  |   1 +
 debian/source/format                   |   1 +
 5 files changed, 133 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..845ca06
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.pc
diff --git a/debian/changelog b/debian/changelog
index ba82512..7ea14d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ gcb (1:1.07-4) UNRELEASED; urgency=medium
     - Added Vcs-* fields for the pkg-hamradio Git repository
   * debian/compat:
     - Bumped compat level to 9
+  * Source format changed to 3.0 (quilt)
 
  -- Iain R. Learmonth <irl at fsfe.org>  Wed, 12 Aug 2015 20:06:31 +0100
 
diff --git a/debian/patches/pre-quilt-changes.patch b/debian/patches/pre-quilt-changes.patch
new file mode 100644
index 0000000..535dcbb
--- /dev/null
+++ b/debian/patches/pre-quilt-changes.patch
@@ -0,0 +1,129 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ gcb (1:1.07-4) UNRELEASED; urgency=medium
+ .
+   * Adopted by the Debian Hamradio Maintainers (Closes: #553654)
+   * debian/control:
+     - Bumped standards version to 3.9.6
+     - Maintainer set to Debian Hamradio Maintainers
+     - Added myself to uploaders
+     - Changed debhelper version to >= 9
+     - Added ${misc:Depends} to Build-Depends
+     - Added Vcs-* fields for the pkg-hamradio Git repository
+   * debian/compat:
+     - Bumped compat level to 9
+Author: Iain R. Learmonth <irl at fsfe.org>
+Bug-Debian: https://bugs.debian.org/553654
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- /dev/null
++++ gcb-1.07/Makefile
+@@ -0,0 +1,12 @@
++CC = gcc
++PROG = gcb
++CFLAGS = -O2 -Wall
++
++$(PROG):
++	$(CC) $(CFLAGS) -o $(PROG) gc.c -lm
++
++install:
++	install -s -o root -g root $(PROG) $(DESTDIR)/usr/bin
++
++clean:
++	rm -f gc $(PROG)
+--- gcb-1.07.orig/gc.c
++++ gcb-1.07/gc.c
+@@ -12,10 +12,10 @@
+  *
+  *      Usage examples:
+  *
+- *      gc n 35.19n97.27w 0s0e           (Moore to Prime/Equator)
+- *      gc n 35.19N97.27W 38.51n77.02W   (Moore to Washington D.C., mixed case)
+- *      gc n 33.56n118.24w 55.45n37.35e  (L.A. to Moscow)
+- *	gc n 35N70W 35N71W		 (No decimal points used, all uppercase)
++ *      gcb n 35.19n97.27w 0s0e           (Moore to Prime/Equator)
++ *      gcb n 35.19N97.27W 38.51n77.02W   (Moore to Washington D.C., mixed case)
++ *      gcb n 33.56n118.24w 55.45n37.35e  (L.A. to Moscow)
++ *	gcb n 35N70W 35N71W		 (No decimal points used, all uppercase)
+  *
+  *	Modified the program to incorporate short and long path information
+  *	from the Satellite Handbook.  This version also takes into consideration
+@@ -23,7 +23,7 @@
+  *	antipodal points, which are easily calculated.  These last points were
+  *	made in discussions with John Allison who makes the nice MAPIT program.
+  *
+- *	Compile GNU C with: cc -O gc.c -o gc -lm
++ *	Compile GNU C with: cc -O gc.c -o gcb -lm
+  */
+ 
+ /* Includes */
+@@ -101,7 +101,7 @@ void parse(s, lat, lon)
+ char    *s;
+ double  *lat, *lon;
+ {
+-        register char   *i, *t, *e;
++        register char   *i, *t=NULL, *e;
+ 
+         e = s + strlen(s);
+         for (i = s; i < e; ++i)  {
+@@ -148,7 +148,7 @@ double  *lat, *lon;
+                 *lat = -89.9;
+ }
+ 
+-void main(argc, argv)
++int main(argc, argv)
+ int  argc;
+ char **argv;
+ {
+@@ -157,17 +157,15 @@ char **argv;
+ 	int	units;
+ 
+         if (argc != 4)  {
+-            fprintf(stderr, "\nUsage: gc units station1 station2\n\n" \
+-            "This program computes Great Circle Bearing and Range\n" \
++            fprintf(stderr, "\nUsage: gcb units station1 station2\n\n" \
++            "This program computes long/short radio path\n" \
+             "given the latitude and longitude (degrees and minutes).\n\n" \
+             "You must input the lat/long of the two stations.\n" \
+             "The output will then be relative from station1 to station2.\n\n" \
+             "Input the two station lat/longs using the following format:\n\n" \
+             "\tdd.mmHddd.mmG  lead/lagging zeros can be left out.\n\n" \
+-            "d = Degrees, m = Minutes, H = Hemisphere (N or S), " \
+-	    "G = Greenwich (W or E)\n\n" \
+-            "units is 'n' for Nautical, 'k' for kilometers, and 's' for " \
+-            "Statute.\n\n");
++            "d = Degrees, m = Minutes, H = Hemisphere (N or S), G = Greenwich (W or E)\n\n" \
++            "units is 'n' for Nautical, 'k' for kilometers, and 's' for Statute.\n\n");
+ 
+                 exit(1);
+         }
+@@ -261,10 +259,10 @@ char **argv;
+ 
+         /* Computations complete, show answer */
+ 
+-        printf("Short Path Bearing is %03.0f Degrees for %.0f %s\n",
++        printf("Short Radio Path is %03.0f Degrees for %.0f %s\n",
+ 	        azsp, distsp, Units[units].text);
+ 
+-        printf(" Long Path Bearing is %03.0f Degrees for %.0f %s\n",
++        printf(" Long Radio Path is %03.0f Degrees for %.0f %s\n",
+ 	        azlp, distlp, Units[units].text);
+ 
+         exit(0);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..36f20b7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pre-quilt-changes.patch
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gcb.git



More information about the pkg-hamradio-commits mailing list