[Pkg-octave-commit] [octave-lssa.git] 02/03: Initial commit of debian/* files

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Mon Aug 29 21:41:51 UTC 2016


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

rlaboiss-guest pushed a commit to branch master
in repository octave-lssa.git.

commit f4b06b30bcbd19301ea2269d5bec2d1a5c340f88
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Mon Aug 29 14:01:33 2016 -0300

    Initial commit of debian/* files
    
    Gbp-Dch: Ignore
---
 debian/changelog                        |   5 ++
 debian/compat                           |   1 +
 debian/control                          |  18 ++++
 debian/copyright                        |  50 +++++++++++
 debian/patches/compile-with-gcc-6.patch | 142 ++++++++++++++++++++++++++++++++
 debian/patches/series                   |   2 +
 debian/rules                            |   4 +
 debian/source/format                    |   1 +
 debian/watch                            |   2 +
 9 files changed, 225 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bf96764
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+octave-lssa (0.1.2-1) unstable; urgency=low
+
+  * Initial release (closes: #XXXXXX)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 20 Aug 2016 16:19:23 -0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f11c82a
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
\ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..cda27fe
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: octave-lssa
+Section: math
+Priority: optional
+Maintainer: Ben Lewis <benjf5 at gmail.com>
+Uploaders: Rafael Laboissiere <rafael at debian.org>
+Build-Depends: debhelper (>= 9), cdbs, octave-pkg-dev (>= 1.4.2)
+Standards-Version: 3.9.8
+Homepage: http://octave.sourceforge.net/lssa/
+Vcs-Git: https://anonscm.debian.org/git/pkg-octave/octave-lssa.git
+Vcs-Browser: https://anonscm.debian.org/gitweb/?p=pkg-octave/octave-lssa.git
+
+Package: octave-lssa
+Architecture: any
+Depends: ${misc:Depends}, ${octave:Depends}, ${shlibs:Depends}
+Description: least squares spectral analysis for Octave
+ ${octave:Upstream-Description}
+ .
+ This Octave add-on package is part of the Octave-Forge project.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0a11edd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,50 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Least squares spectral analysis
+Upstream-Contact: Ben Lewis <benjf5 at gmail.com>
+Source: Source: http://octave.sourceforge.net/queueing/index.html
+
+Files: *
+Copyright: 2012, Benjamin Lewis <benjf5 at gmail.com>
+License: GPL-3+
+
+Files: inst/lombnormcoeff.m
+Copyright: 2012, Benjamin Lewis <benjf5 at gmail.com>
+License: GPL-2+
+ 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License, version 3, can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
+Files: debian/*
+Copyright: 2016 Rafael Laboissiere <rafael at debian.org>
+License: GPL-3+
+
+License: GPL-3+
+ 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 3 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License, version 3, can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/patches/compile-with-gcc-6.patch b/debian/patches/compile-with-gcc-6.patch
new file mode 100644
index 0000000..bfb74f2
--- /dev/null
+++ b/debian/patches/compile-with-gcc-6.patch
@@ -0,0 +1,142 @@
+Description: Compile against g++ v6
+Author:John Donoghue <john.david.donoghue at gmail.com> 
+Origin: upstream, https://sourceforge.net/p/octave/lssa/ci/59af0bcd5cafce29162db3dfc42dcf326f56d8be/tree/src/fastlscomplex.cc?format=raw
+Forwarded: not-needed
+Reviewed-By: Rafael Laboissiere <rafael at debian.org>
+Last-Update: 2016-08-27
+
+--- octave-lssa-0.1.2.orig/src/fastlscomplex.cc
++++ octave-lssa-0.1.2/src/fastlscomplex.cc
+@@ -312,30 +312,30 @@ bool flscomplex (const RowVector & tvec,
+        */
+       double *exp_pse_ptr, *exp_ptr, exp_power_series_elements[12];
+       {
+-	double t = mu * loop_delta_tau, tt;
+-	exp_ptr = exp_power_series_elements;
+-	*exp_ptr++ = 1;
+-	*exp_ptr++ = t;
+-	tt = t * t * ( 1.0 / 2.0 );
+-	*exp_ptr++ = tt;
+-	tt *= t * ( 1.0 / 3.0 );
+-	*exp_ptr++ = tt;
+-	tt *= t * ( 1.0 / 4.0 );
+-	*exp_ptr++ = tt;
+-	tt *= t * ( 1.0 / 5.0 );
+-	*exp_ptr++ = tt;
+-	tt *= t * ( 1.0 / 6.0 );
+-	*exp_ptr++ = tt;
+-	tt *= t * ( 1.0 / 7.0 );
+-	*exp_ptr++ = tt;
+-	tt *= t * ( 1.0 / 8.0 );
+-	*exp_ptr++ = tt;
+-	tt *= t * ( 1.0 / 9.0 );
+-	*exp_ptr++ = tt;
+-	tt *= t * ( 1.0 / 10.0 );
+-	*exp_ptr++ = tt;
+-	tt *= t * ( 1.0 / 11.0 );
+-	*exp_ptr++ = tt;
++        double t = mu * loop_delta_tau, tt;
++        exp_ptr = exp_power_series_elements;
++        *exp_ptr++ = 1;
++        *exp_ptr++ = t;
++        tt = t * t * ( 1.0 / 2.0 );
++        *exp_ptr++ = tt;
++        tt *= t * ( 1.0 / 3.0 );
++        *exp_ptr++ = tt;
++        tt *= t * ( 1.0 / 4.0 );
++        *exp_ptr++ = tt;
++        tt *= t * ( 1.0 / 5.0 );
++        *exp_ptr++ = tt;
++        tt *= t * ( 1.0 / 6.0 );
++        *exp_ptr++ = tt;
++        tt *= t * ( 1.0 / 7.0 );
++        *exp_ptr++ = tt;
++        tt *= t * ( 1.0 / 8.0 );
++        *exp_ptr++ = tt;
++        tt *= t * ( 1.0 / 9.0 );
++        *exp_ptr++ = tt;
++        tt *= t * ( 1.0 / 10.0 );
++        *exp_ptr++ = tt;
++        tt *= t * ( 1.0 / 11.0 );
++        *exp_ptr++ = tt;
+       }
+       exp_pse_ptr = exp_ptr = exp_power_series_elements;
+ 
+@@ -372,8 +372,10 @@ bool flscomplex (const RowVector & tvec,
+ 
+                             --tpra;
+                             h = *tpra * *exp_ptr;
+-                            record_current->power_series[p].real() -= h.imag();
+-                            record_current->power_series[p].imag() += h.real();
++                            record_current->power_series[p].real ( 
++                              record_current->power_series[p].real() - h.imag());
++                            record_current->power_series[p].imag (
++                              record_current->power_series[p].imag() + h.real());
+ 
+                             if (++exp_ptr >= exp_pse_ptr )
+                               break;
+@@ -386,8 +388,10 @@ bool flscomplex (const RowVector & tvec,
+ 
+                             --tpra;
+                             h = -*tpra * *exp_ptr;
+-                            record_current->power_series[p].real() -= h.imag();
+-                            record_current->power_series[p].imag() += h.real();
++                            record_current->power_series[p].real ( 
++                              record_current->power_series[p].real() - h.imag());
++                            record_current->power_series[p].imag (
++                              record_current->power_series[p].imag() + h.real());
+ 
+                             if (++exp_ptr >= exp_pse_ptr)
+                               break;
+@@ -422,8 +426,10 @@ bool flscomplex (const RowVector & tvec,
+ 
+                                   tprb -= 2;
+                                   h = *tprb * *exp_ptr;
+-                                  record_current->power_series[p].real() -= h.imag();
+-                                  record_current->power_series[p].imag() += h.real();
++                                  record_current->power_series[p].real ( 
++                                    record_current->power_series[p].real() - h.imag());
++                                  record_current->power_series[p].imag (
++                                    record_current->power_series[p].imag() + h.real());
+ 
+                                   if ( ++exp_ptr >= exp_pse_ptr )
+                                     break;
+@@ -436,8 +442,10 @@ bool flscomplex (const RowVector & tvec,
+ 
+                                   tprb -= 2;
+                                   h = - *tprb * *exp_ptr;
+-                                  record_current->power_series[p].real() -= h.imag();
+-                                  record_current->power_series[p].imag() += h.real();
++                                  record_current->power_series[p].real ( 
++                                    record_current->power_series[p].real() - h.imag());
++                                  record_current->power_series[p].imag (
++                                    record_current->power_series[p].imag() + h.real());
+ 
+                                   if (++exp_ptr >= exp_pse_ptr)
+                                     break;
+@@ -467,8 +475,10 @@ bool flscomplex (const RowVector & tvec,
+ 
+                                   --tpra;
+                                   h = *tpra * *exp_ptr;
+-                                  record_next->power_series[q].real() -= h.imag();
+-                                  record_next->power_series[q].imag() += h.real();
++                                  record_next->power_series[q].real ( 
++                                    record_next->power_series[q].real() - h.imag());
++                                  record_next->power_series[q].imag (
++                                    record_next->power_series[q].imag() + h.real());
+ 
+                                   if (++exp_ptr >= exp_pse_ptr)
+                                     break;
+@@ -481,8 +491,10 @@ bool flscomplex (const RowVector & tvec,
+ 
+                                   --tpra;
+                                   h = -*tpra * *exp_ptr;
+-                                  record_next->power_series[q].real() -= h.imag();
+-                                  record_next->power_series[q].imag() += h.real();
++                                  record_next->power_series[q].real ( 
++                                    record_next->power_series[q].real() - h.imag());
++                                  record_next->power_series[q].imag (
++                                    record_next->power_series[q].imag() + h.real());
+ 
+                                   if (++exp_ptr >= exp_pse_ptr)
+                                     break;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c12f9bd
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+#compile-with-gcc-6.patch
+compile-with-gcc-6.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..71fb86c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+include /usr/share/cdbs/1/class/octave-pkg.mk
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..510f69a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/octave/lssa-(.+)\.tar\.gz

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-lssa.git.git



More information about the Pkg-octave-commit mailing list