--- xsmc-calc-1.0.0.orig/draw.c +++ xsmc-calc-1.0.0/draw.c @@ -676,7 +676,6 @@ break; - default: } } --- xsmc-calc-1.0.0.orig/smc.c +++ xsmc-calc-1.0.0/smc.c @@ -400,7 +400,6 @@ case XK_p: printf("Printing not yet implemented\n"); break; - default: } break; @@ -413,7 +412,6 @@ case XK_Shift_R: Keyshift=0; break; - default: } break; @@ -439,8 +437,6 @@ } break; - default: - } } --- xsmc-calc-1.0.0.orig/Makefile +++ xsmc-calc-1.0.0/Makefile @@ -2,9 +2,7 @@ xsmc: smc.o calc.o draw.o dialog.o - gcc -lm -oxsmc -Wall -lX11 -lm -L/usr/X11R6/lib\ - smc.o calc.o draw.o dialog.o - + gcc -oxsmc -Wall smc.o calc.o draw.o dialog.o -L/usr/X11R6/lib -lX11 -lm { gzip *.1*; true; } # @@ -40,4 +38,4 @@ uninstall: rm -f /usr/bin/xsmc - rm -f ($MANDIR)/man1/xsmc.1.* \ No newline at end of file + rm -f ($MANDIR)/man1/xsmc.1.* --- xsmc-calc-1.0.0.orig/debian/rules +++ xsmc-calc-1.0.0/debian/rules @@ -0,0 +1,46 @@ +#!/usr/bin/make -f + +build: + dh_testdir + $(MAKE) + touch build + +clean: + dh_testdir + -rm -f build + $(MAKE) clean + -rm -f `find . -name "*~"` + -rm -f xsmc + dh_clean + +binary-indep: build +# nothing else to do + +binary-arch: build + dh_testroot + dh_clean + dh_installdirs + dh_installman + dh_installdocs README keystroke.txt + cp xsmc debian/xsmc-calc/usr/bin + cp mini-xsmc.xpm debian/xsmc-calc/usr/share/pixmaps + + # Provided xsmc.1.gz isn't gzipped -9, which causes a lintian error. + # So uncompress it here and let dh_compress fix it later. + zcat xsmc.1.gz > debian/xsmc-calc/usr/share/man/man1/xsmc.1 + + dh_installmenu + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_makeshlibs + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: binary binary-arch binary-indep clean --- xsmc-calc-1.0.0.orig/debian/control +++ xsmc-calc-1.0.0/debian/control @@ -0,0 +1,15 @@ +Source: xsmc-calc +Section: hamradio +Priority: optional +Maintainer: Debian Hamradio Maintainers +Uploaders: Jaime Robles , Patrick Ouellette , Hamish Moffatt +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 4), libx11-dev, libxt-dev +Homepage: http://www.qsl.net/ik5nax/index.html + +Package: xsmc-calc +Architecture: any +Depends: ${shlibs:Depends} +Description: Smith Chart calculator for X + xsmc-calc allows you to perform Smith Chart calculations for + RF (radio frequency) circuit design. --- xsmc-calc-1.0.0.orig/debian/copyright +++ xsmc-calc-1.0.0/debian/copyright @@ -0,0 +1,9 @@ + +xsmc-calc was written by Lapo Pieri IK5NAX, ik5nax@amsat.org. +It is licensed under the terms of the GNU General Public License. +See /usr/share/common-licenses/GPL for details. + +This is the Debian GNU/Linux package of xsmc-calc. The original +sources were obtained from: http://www.qsl.net/ik5nax/ +This package was created by Hamish Moffatt . + --- xsmc-calc-1.0.0.orig/debian/xsmc-calc.dirs +++ xsmc-calc-1.0.0/debian/xsmc-calc.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/man/man1 +usr/share/pixmaps --- xsmc-calc-1.0.0.orig/debian/compat +++ xsmc-calc-1.0.0/debian/compat @@ -0,0 +1 @@ +4 --- xsmc-calc-1.0.0.orig/debian/xsmc-calc.menu +++ xsmc-calc-1.0.0/debian/xsmc-calc.menu @@ -0,0 +1,5 @@ +?package(xsmc-calc):needs="X11" section="Applications/Amateur Radio" \ + title="xsmc-calc" longtitle="X Smith Chart Calculator" \ + description="Smith Chart calculator" \ + command="/usr/bin/xsmc" \ + icon="/usr/share/pixmaps/mini-xsmc.xpm" --- xsmc-calc-1.0.0.orig/debian/changelog +++ xsmc-calc-1.0.0/debian/changelog @@ -0,0 +1,52 @@ +xsmc-calc (1.0.0-6.1) unstable; urgency=low + + * Retiring - remove myself from the uploaders list. + + -- Joop Stakenborg Wed, 18 Nov 2009 20:32:13 +0000 + +xsmc-calc (1.0.0-6) unstable; urgency=low + + * General cleanup. + * Update menu section + * Update standards-revision + * Add homepage + * Donate to debian-hams team. + + -- Hamish Moffatt Fri, 19 Oct 2007 00:47:37 +1000 + +xsmc-calc (1.0.0-5) unstable; urgency=low + + * Tweak Makefile to provide library path before -lX11; + fixes FTBFS (closes: #355600) + + -- Hamish Moffatt Tue, 7 Mar 2006 08:41:38 +1100 + +xsmc-calc (1.0.0-4) unstable; urgency=low + + * Added libxt-dev to build-deps. Whoops. + + -- Hamish Moffatt Tue, 12 Apr 2005 08:35:55 +1000 + +xsmc-calc (1.0.0-3) unstable; urgency=low + + * Build-depend on debhelper >= 4 (closes: #260556) + * Build-depend on libx11-dev instead of xlibs-dev + * Stop adding files to /usr/X11R6 + * Clean up menu entry to satisfy lintian + * Applied patch from Andreas Jochens to fix FTBFS with gcc-3.4 + (closes: #264360) + + -- Hamish Moffatt Tue, 12 Apr 2005 00:23:10 +1000 + +xsmc-calc (1.0.0-2) unstable; urgency=low + + * Modified package description to use proper name for X (closes: #121287) + + -- Hamish Moffatt Thu, 27 Dec 2001 12:19:28 +1100 + +xsmc-calc (1.0.0-1) unstable; urgency=low + + * Initial upload (closes: #119118) + + -- Hamish Moffatt Sat, 24 Nov 2001 17:06:39 +1100 +