[hamradio-commits] [xnec2c] 02/05: Imported Debian patch 1:3.0-1

Dave Hibberd hibby-guest at moszumanska.debian.org
Mon May 4 19:51:52 UTC 2015


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

hibby-guest pushed a commit to branch master
in repository xnec2c.

commit 1e1775f2cd34a1c54dc34ad000fb2fd34c1b3ae8
Author: Colin Tuckley <colint at debian.org>
Date:   Sun Sep 14 14:19:45 2014 +0100

    Imported Debian patch 1:3.0-1
---
 debian/changelog               | 157 +++++++++++++++++++++++++++++++++++++++++
 debian/compat                  |   1 +
 debian/control                 |  25 +++++++
 debian/copyright               |  57 +++++++++++++++
 debian/dirs                    |   1 +
 debian/docs                    |   3 +
 debian/menu                    |   2 +
 debian/patches/series          |   1 +
 debian/patches/spellings.patch |  61 ++++++++++++++++
 debian/rules                   | 101 ++++++++++++++++++++++++++
 debian/source/format           |   1 +
 debian/watch                   |   5 ++
 debian/xnec2c.desktop          |   8 +++
 debian/xnec2c.install          |   1 +
 14 files changed, 424 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d818064
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,157 @@
+xnec2c (1:3.0-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Colin Tuckley <colint at debian.org>  Sun, 14 Sep 2014 14:19:45 +0100
+
+xnec2c (1:2.9-1) unstable; urgency=medium
+
+  * New upstream release.
+    incorporation of patches from 2.8
+
+ -- Colin Tuckley <colint at debian.org>  Mon, 16 Jun 2014 11:53:00 +0100
+
+xnec2c (1:2.8-1) unstable; urgency=medium
+
+  * New upstream release.
+  * bumped standards version to 3.9.5
+  * Homepage has moved - update debian/control
+  * distro has moved - update debian/watch
+  * Fix minor spelling errors
+
+ -- Colin Tuckley <colint at debian.org>  Fri, 06 Jun 2014 17:19:55 +0100
+
+xnec2c (1:2.3~beta-1) unstable; urgency=low
+
+  * New upstream beta release
+    - autoconf generated files updated
+  * debian/
+    - migrated to unstable:
+      - new upstream 2.x-beta series is more stable than old 1.x series
+      - old 1.4-1 package is FTBFS in Debian jessie (Closes: 713697).
+    - build-dep: added intltool
+    - patches: dropped autoconf generated files
+    - watch: updated
+    - bumped standards version to 3.9.4
+
+ -- Kamal Mostafa <kamal at whence.com>  Sun, 23 Jun 2013 08:42:12 -0700
+
+xnec2c (1:2.1~beta-1) experimental; urgency=low
+
+  * New upstream beta release
+  * debian/
+    - rules: configure with dpkg-buildflags to enable hardening flags
+    - rules: added targets build-arch, build-indep
+    - xnec2c.desktop (LP: #615616, thanks PeterPall)
+    - updated autoconf generated files (patches/01...)
+    - bumped standards version to 3.9.3
+
+ -- Kamal Mostafa <kamal at whence.com>  Mon, 15 Oct 2012 15:04:12 -0700
+
+xnec2c (1:1.4-1) unstable; urgency=low
+
+  [ Steve Conklin ]
+  * New upstream release
+  * change debian maintainer and uploaders (Closes: 555145)
+
+ -- Steve Conklin <steve at conklinhouse.com>  Thu, 21 Jul 2011 21:32:04 -0500
+
+xnec2c (1:1.3-2) unstable; urgency=low
+
+  * Retiring - set the package maintainer to Debian QA Group.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Sun, 08 Nov 2009 17:59:42 +0000
+
+xnec2c (1:1.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Wed, 25 Mar 2009 19:02:05 +0100
+
+xnec2c (1:1.2-1) unstable; urgency=low
+
+  * 
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Mon, 24 Nov 2008 12:34:53 +0100
+
+xnec2c (1:1.0-3) unstable; urgency=low
+
+  * Upstream revision for the previous patch.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Thu, 20 Nov 2008 19:18:22 +0100
+
+xnec2c (1:1.0-2) unstable; urgency=low
+
+  * Upstream patch to fix a segfault. 
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Wed, 19 Nov 2008 21:25:36 +0100
+
+xnec2c (1:1.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Adapt description and add homepage to the control file.
+    Thanks Chris Walker. Closes: #500808.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Tue, 18 Nov 2008 20:19:06 +0100
+
+xnec2c (1.0b5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Sun, 27 Jan 2008 08:41:27 +0100
+
+xnec2c (1.0b4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Watch file added.
+  * Bump standards version.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Thu, 24 Jan 2008 19:36:33 +0100
+
+xnec2c (1.0b3-3) unstable; urgency=low
+
+  * Set exe bit in debian/rules. Closes: #454972.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Sun, 09 Dec 2007 09:10:13 +0100
+
+xnec2c (1.0b3-2) unstable; urgency=low
+
+  * Set exe bit for configure and some other files.
+    Closes: #454972, #454968.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Sat, 08 Dec 2007 16:32:53 +0100
+
+xnec2c (1.0b3-1) unstable; urgency=low
+
+  * New upstream release. Closes: #444092. Thanks Nate, N0NB.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Sun, 02 Dec 2007 10:57:16 +0100
+
+xnec2c (1.0b-4) unstable; urgency=low
+
+  * Install images for the documentation correctly. Closes: #444016.
+  * Thanks Nate Bargmann.
+  * Add a menu entry.
+  * Fix 2 lintian warnings.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Tue, 09 Oct 2007 14:31:07 +0200
+
+xnec2c (1.0b-3) unstable; urgency=low
+
+  * Oops. Really add automake build-dependency this time.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Fri, 29 Dec 2006 10:21:27 +0100
+
+xnec2c (1.0b-2) unstable; urgency=low
+
+  * Build-depend on automake, since most of the scripts in the package
+    root directory are symlinks.
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Fri, 29 Dec 2006 10:05:44 +0100
+
+xnec2c (1.0b-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Joop Stakenborg <pa3aba at debian.org>  Fri,  1 Dec 2006 21:55:27 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..508607f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: xnec2c
+Section: hamradio
+Priority: extra
+Maintainer: Debian Hamradio Maintainers <debian-hams at lists.debian.org>
+Uploaders: Steve Conklin <steve at conklinhouse.com>, Kamal Mostafa <kamal at whence.com>, Colin Tuckley <colint at debian.org>
+Build-Depends: debhelper (>= 7), libgtk2.0-dev, automake (>= 1.9), intltool (>= 0.50.0)
+Standards-Version: 3.9.5
+Homepage: http://www.5b4az.org/
+
+Package: xnec2c
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: calculate and display radio antenna properties
+ The original nec2c is a non-interactive command-line application that reads
+ standard NEC2 input files and produces an output file with data requested
+ by "commands" in the input file.
+ .
+ In contrast xnec2c is a GUI interactive application that (in its current form)
+ reads NEC2 input files but presents output data in graphical form, e.g. as
+ wire frame drawings of the radiation pattern or near E/H field, graphs of
+ maximum gain, input impedance, vswr etc against frequency and simple rendering
+ of the antenna structure, including color code representation of currents or
+ charge densities. These results are only calculated and drawn on user demand
+ via menu items or buttons, e.g. xnec2c is interactive and does not execute
+ NEC2 "commands" in batch style as the original does.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..51248a2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,57 @@
+This package was debianized by Joop Stakenborg <pa3aba at debian.org> on
+Fri,  1 Dec 2006 21:55:27 +0100.
+
+It was downloaded from http://5b4az.chronos.org.uk/pages/nec2.html
+
+Upstream Author: Neoklis Kyriazis <n5b4az at yahoo.com>
+
+From src/main.c:
+ *  xnec2c - GTK2-based version of nec2c, the C translation of NEC2
+ *  Copyright (C) 2003-2006 N. Kyriazis <neoklis at mailspeed.net>
+
+License:
+
+ *  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
+ *  (at your option) any later version.
+ *
+ *  This program 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.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software 
+ *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+Part of this package comes from nec2, which is fortran code released in the
+Public Domain, e.g. src/matrix.c contains the original copyright header:
+
+/******* Translated to the C language by N. Kyriazis  20 Aug 2003 ******
+
+  Program NEC(input,tape5=input,output,tape11,tape12,tape13,tape14,
+  tape15,tape16,tape20,tape21)
+
+  Numerical Electromagnetics Code (NEC2)  developed at Lawrence
+  Livermore lab., Livermore, CA.  (contact G. Burke at 415-422-8414
+  for problems with the NEC code. For problems with the vax implem-
+  entation, contact J. Breakall at 415-422-8196 or E. Domning at 415
+  422-5936)
+  file created 4/11/80.
+
+ ***********Notice**********
+ This computer code material was prepared as an account of work
+ sponsored by the United States government.  Neither the United
+ States nor the United States Department Of Energy, nor any of
+ their employees, nor any of their contractors, subcontractors,
+ or their employees, makes any warranty, express or implied, or
+ assumes any legal liability or responsibility for the accuracy,
+ completeness or usefulness of any information, apparatus, product
+ or process disclosed, or represents that its use would not infringe
+ privately-owned rights.
+
+ ***********************************************************************/
+
+The Debian packaging is (C) Copyright 2006, Joop Stakenborg <pa3aba at debian.org>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..bb48566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+doc/xnec2c.html
+doc/images/
+examples/
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 0000000..977246d
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,2 @@
+?package(xnec2c):needs="X11" section="Applications/Amateur Radio" \
+  title="Xnec2c" command="/usr/bin/xnec2c"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fd615d9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spellings.patch
diff --git a/debian/patches/spellings.patch b/debian/patches/spellings.patch
new file mode 100644
index 0000000..526e7bd
--- /dev/null
+++ b/debian/patches/spellings.patch
@@ -0,0 +1,61 @@
+Fix minor spelling errors
+--- a/xnec2c.glade
++++ b/xnec2c.glade
+@@ -6183,7 +6183,7 @@
+ 		      <property name="border_width">2</property>
+ 		      <property name="visible">True</property>
+ 		      <property name="can_focus">True</property>
+-		      <property name="label" translatable="yes">Arbitary</property>
++		      <property name="label" translatable="yes">Arbitrary</property>
+ 		      <property name="use_underline">True</property>
+ 		      <property name="relief">GTK_RELIEF_NORMAL</property>
+ 		      <property name="focus_on_click">True</property>
+@@ -19620,7 +19620,7 @@
+ 
+ xnec2c has a built-in NEC2 input file editor that makes it easier to create or edit antenna description files and specify NEC2 commands.
+ 
+-PLEASE read the documantation in the doc/ sub-directory as xnec2c is not fully compatible with NEC2 input files and it works in different ways!</property>
++PLEASE read the documentation in the doc/ sub-directory as xnec2c is not fully compatible with NEC2 input files and it works in different ways!</property>
+   <property name="license" translatable="yes">GPL v2 or higher</property>
+   <property name="wrap_license">False</property>
+   <property name="website">http://www.qsl.net/5b4az</property>
+--- a/src/geom_edit.c
++++ b/src/geom_edit.c
+@@ -676,7 +676,7 @@
+ 	  save = TRUE;
+ 	  break;
+ 
+-	case PATCH_EDITOR_ARBT: /* Arbitary-shaped patch */
++	case PATCH_EDITOR_ARBT: /* Arbitrary-shaped patch */
+ 	  ptype = PATCH_ARBT;
+ 	  ptset = FALSE;
+ 	  save  = TRUE;
+@@ -758,7 +758,7 @@
+   /* Hide/Show parts of window as needed */
+   switch( ptype )
+   {
+-	case PATCH_ARBT: /* Arbitary shaped patch */
++	case PATCH_ARBT: /* Arbitrary shaped patch */
+ 	  gtk_widget_hide( lookup_widget(patch_editor, "patch_sc_frame") );
+ 	  gtk_widget_hide( lookup_widget(patch_editor, "patch_sm_frame") );
+ 	  gtk_window_resize( GTK_WINDOW(patch_editor), 10, 10 );
+--- a/src/interface.c
++++ b/src/interface.c
+@@ -3656,7 +3656,7 @@
+   gtk_widget_show (hbox22);
+   gtk_container_add (GTK_CONTAINER (alignment13), hbox22);
+ 
+-  patch_arbitrary_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Arbitary"));
++  patch_arbitrary_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Arbitrary"));
+   gtk_widget_show (patch_arbitrary_radiobutton);
+   gtk_box_pack_start (GTK_BOX (hbox22), patch_arbitrary_radiobutton, TRUE, TRUE, 0);
+   gtk_container_set_border_width (GTK_CONTAINER (patch_arbitrary_radiobutton), 2);
+@@ -10135,7 +10135,7 @@
+   gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (aboutdialog), VERSION);
+   gtk_about_dialog_set_name (GTK_ABOUT_DIALOG (aboutdialog), _("Xnec2c"));
+   gtk_about_dialog_set_copyright (GTK_ABOUT_DIALOG (aboutdialog), _("(C) 2007-2010 Neoklis Kyriazis"));
+-  gtk_about_dialog_set_comments (GTK_ABOUT_DIALOG (aboutdialog), _("xnec2c is an interactive graphical wrapper around a modified version of nec2c, which is itself a translation to C of the original FORTRAN NEC2 Numerical Electromagnetics Code.\n\nxnec2c can display frequency-dependent data (gain, input impedance, vswr etc) in a graphical format. It can also display radiation pattern data in a rotatable wire frame format and near-field (E, H, S vectors) in a grid format.\n\nxnec2c has a  [...]
++  gtk_about_dialog_set_comments (GTK_ABOUT_DIALOG (aboutdialog), _("xnec2c is an interactive graphical wrapper around a modified version of nec2c, which is itself a translation to C of the original FORTRAN NEC2 Numerical Electromagnetics Code.\n\nxnec2c can display frequency-dependent data (gain, input impedance, vswr etc) in a graphical format. It can also display radiation pattern data in a rotatable wire frame format and near-field (E, H, S vectors) in a grid format.\n\nxnec2c has a  [...]
+   gtk_about_dialog_set_license (GTK_ABOUT_DIALOG (aboutdialog), _("GPL v2 or higher"));
+   gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (aboutdialog), "http://www.qsl.net/5b4az");
+   gtk_about_dialog_set_authors (GTK_ABOUT_DIALOG (aboutdialog), authors);
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ada3f56
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,101 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+# enable hardening flags (for debian/compat<9):
+configure_flags += $(shell f=`dpkg-buildflags --export=configure` && echo $$f)
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info $(configure_flags)
+
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+#ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+#	cp -f /usr/share/misc/config.sub config.sub
+#endif
+#ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+#	cp -f /usr/share/misc/config.guess config.guess
+#endif
+	dh_clean
+	[ ! -f mkinstalldirs ] || chmod +x mkinstalldirs
+	chmod +x configure depcomp missing
+ 
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/xnec2c.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/xnec2c install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+	dh_install
+	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman doc/xnec2c.1.gz
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
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)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3bfb993
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+
+opts=uversionmangle=s/-(beta\d*)$/~$1/ \
+http://www.5b4az.org/pages/nec2.html \
+(?:.*/|)xnec2c(?:-|_|_v|\.|V|)(\d\S*)\.(?:tar\.(?:gz|bz2|xz)|tgz|tbz2|txz)
diff --git a/debian/xnec2c.desktop b/debian/xnec2c.desktop
new file mode 100644
index 0000000..ec15ad4
--- /dev/null
+++ b/debian/xnec2c.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Xnec2c
+Comment=Xnec2c antenna simulation
+Exec=xnec2c
+Terminal=false
+Type=Application
+Categories=Education;Science;
+Keywords=antenna;simulation;
diff --git a/debian/xnec2c.install b/debian/xnec2c.install
new file mode 100644
index 0000000..ffa533b
--- /dev/null
+++ b/debian/xnec2c.install
@@ -0,0 +1 @@
+debian/xnec2c.desktop usr/share/applications/

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



More information about the pkg-hamradio-commits mailing list