summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Laboissière <rafael@debian.org>2020-05-26 05:46:48 -0300
committerRafael Laboissière <rafael@debian.org>2020-05-26 05:46:48 -0300
commit87b9ef0bc74e8e69f377682d1a18c352a3d445f8 (patch)
treed21a47a1d692a0d5107b9e95c224bc59c66d928b
parentd109b848ad8eff44ef33e19f5510059b81b20b90 (diff)
parentcd21136507d238aae7b71191124c0e321835436b (diff)
octave-octclip (2.0.1-1) unstable; urgency=medium
* New upstream version 2.0.1 * d/copyright: Reflect upstream changes * d/p/compile-with-gcc-9.patch: Drop patch (fixed upstream) * d/p/do-not-strip-debugging-symbols.patch: Refresh for new upstream version * d/p/spelling-doc-oc-polybool.patch: New patch * d/control: + Bump Standards-Version to 4.5.0 (no changes needed) + Bump debhelper compatibitlity level to 13 * d/u/metadata: New file [dgit import unpatched octave-octclip 2.0.1-1]
-rw-r--r--debian/changelog90
-rw-r--r--debian/control23
-rw-r--r--debian/copyright73
-rw-r--r--debian/octave-octclip.doc-base11
-rw-r--r--debian/octave-octclip.docs1
-rw-r--r--debian/patches/do-not-strip-debugging-symbols.patch18
-rw-r--r--debian/patches/series2
-rw-r--r--debian/patches/spelling-doc-oc-polybool.patch16
-rwxr-xr-xdebian/rules9
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata3
-rw-r--r--debian/watch2
12 files changed, 249 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8f312ff
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,90 @@
+octave-octclip (2.0.1-1) unstable; urgency=medium
+
+ * New upstream version 2.0.1
+ * d/copyright: Reflect upstream changes
+ * d/p/compile-with-gcc-9.patch: Drop patch (fixed upstream)
+ * d/p/do-not-strip-debugging-symbols.patch: Refresh for new upstream version
+ * d/p/spelling-doc-oc-polybool.patch: New patch
+ * d/control:
+ + Bump Standards-Version to 4.5.0 (no changes needed)
+ + Bump debhelper compatibitlity level to 13
+ * d/u/metadata: New file
+
+ -- Rafael Laboissière <rafael@debian.org> Tue, 26 May 2020 05:46:48 -0300
+
+octave-octclip (1.0.8-8) unstable; urgency=medium
+
+ * d/control:
+ + Bump Standards-Version to 4.4.1 (no changes needed)
+ + Bump dependency on dh-octave to >= 0.7.1
+ This allows the injection of the virtual package octave-abi-N
+ into the package's list of dependencies.
+
+ -- Rafael Laboissiere <rafael@debian.org> Thu, 07 Nov 2019 18:23:55 -0300
+
+octave-octclip (1.0.8-7) unstable; urgency=medium
+
+ * d/p/compile-with-gcc-9.patch: Refresh for compilation with gcc version < 9
+ (Closes: #935584)
+
+ -- Rafael Laboissiere <rafael@debian.org> Sat, 24 Aug 2019 08:58:16 -0300
+
+octave-octclip (1.0.8-6) unstable; urgency=medium
+
+ * d/control: Bump Standards-Version to 4.4.0 (no changes needed)
+ * d/p/compile-with-gcc-9.patch: New patch (Closes: #925791)
+
+ -- Rafael Laboissiere <rafael@debian.org> Wed, 21 Aug 2019 08:46:32 -0300
+
+octave-octclip (1.0.8-5) unstable; urgency=medium
+
+ [ Mike Miller ]
+ * d/control, d/copyright: Use secure URL for upstream source.
+
+ [ Rafael Laboissiere ]
+ * d/control:
+ + Add Rules-Requires-Root: no
+ + Bump Standards-Version to 4.3.0
+ + Bump to debhelper compat level 12
+ * Build-depend on debhelper-compat instead of using d/compat
+ * d/p/do-not-strip-debugging-symbols.patch: New patch
+
+ -- Rafael Laboissiere <rafael@debian.org> Wed, 02 Jan 2019 22:56:56 -0200
+
+octave-octclip (1.0.8-4) unstable; urgency=medium
+
+ * Use dh-octave for building the package
+ * d/control:
+ + Use Debian's GitLab URLs in Vcs-* headers
+ + Change Maintainer to team+pkg-octave-team@tracker.debian.org
+
+ -- Rafael Laboissiere <rafael@debian.org> Sat, 10 Feb 2018 07:36:23 -0200
+
+octave-octclip (1.0.8-3) unstable; urgency=medium
+
+ * Use the dh-based version of octave-pkg-dev
+ * Set debhelper compatibility level to >= 11
+ * d/control:
+ + Bump Standards-Version to 4.1.3 (no changes needed)
+ + Add Testsuite field
+
+ -- Rafael Laboissiere <rafael@debian.org> Fri, 29 Dec 2017 22:14:15 -0200
+
+octave-octclip (1.0.8-2) unstable; urgency=medium
+
+ [ Rafael Laboissiere ]
+ * d/control:
+ + Use cgit instead of gitweb in Vcs-Browser URL
+ + Bump Standards-Version to 4.0.1 (no changes needed)
+
+ [ Sébastien Villemot ]
+ * d/copyright: use secure URL for format.
+ * d/watch: bump to format version 4.
+
+ -- Rafael Laboissiere <rafael@debian.org> Mon, 21 Aug 2017 17:49:51 -0300
+
+octave-octclip (1.0.8-1) unstable; urgency=low
+
+ * Initial release (closes: #814773)
+
+ -- Rafael Laboissiere <rafael@debian.org> Sun, 31 Jul 2016 10:48:51 -0300
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..80bc2d6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: octave-octclip
+Section: math
+Priority: optional
+Maintainer: Debian Octave Group <team+pkg-octave-team@tracker.debian.org>
+Uploaders: Rafael Laboissière <rafael@debian.org>
+Build-Depends: debhelper-compat (= 13),
+ dh-octave (>= 0.7.1)
+Standards-Version: 4.5.0
+Homepage: https://octave.sourceforge.io/octclip/
+Vcs-Git: https://salsa.debian.org/pkg-octave-team/octave-octclip.git
+Vcs-Browser: https://salsa.debian.org/pkg-octave-team/octave-octclip
+Testsuite: autopkgtest-pkg-octave
+Rules-Requires-Root: no
+
+Package: octave-octclip
+Architecture: any
+Depends: ${misc:Depends}, ${octave:Depends}, ${shlibs:Depends}
+Description: boolean operations with polygons in Octave
+ The octclip package contain functions for performing boolean
+ operations (intersection, union, difference, and exclusive or) between
+ two polygons in Octave using the Greiner-Hormann algorithm.
+ .
+ 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..aac9922
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,73 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: GNU Octave clipping polygons tool
+Upstream-Contact: The Octave Community <octave-maintainers@octave.org>
+Source: https://octave.sourceforge.io/octclip/
+
+Files: *
+Copyright: 2009-2020, José Luis García Pallero
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ - Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer listed
+ in this license in the documentation and/or other materials
+ provided with the distribution.
+ .
+ - Neither the name of the copyright holders nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: doc/octclip.*
+Copyright: 2011-2020 José Luis García Pallero
+License: GFDL-NIV
+ This document is free documentation; you can redistribute it and/or
+ modify it under the terms of the GNU Free Documentation License as
+ published by the Free Software Foundation, with no version specified and
+ no cover texts, invariant sections and whatever else.
+ .
+ On Debian systems, the complete text of the GNU Free Documentation
+ License, version 1.3, can be found in the file
+ `/usr/share/common-licenses/GFDL-1.3'.
+
+Files: inst/oc_polybool.m src/_oc_polybool.cc src/octclip.h
+Copyright: 2011-2020, José Luis García Pallero, <jgpallero@gmail.com>
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2016-2020 Rafael Laboissiere <rafael@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/octave-octclip.doc-base b/debian/octave-octclip.doc-base
new file mode 100644
index 0000000..931202a
--- /dev/null
+++ b/debian/octave-octclip.doc-base
@@ -0,0 +1,11 @@
+Document: octave-octclip-manual
+Title: Clipping polygons from GNU Octave
+Author: José Luis García Pallero
+Abstract: This is a small introduction to using the octclip package.
+ In this text, you can overview the basic usage of the functions in
+ GNU Octave. If you need a detailed description about the
+ Greiner-Hormann implemented algorithm.
+Section: Science/Mathematics
+
+Format: PDF
+Files: /usr/share/doc/octave-octclip/octclip.pdf.gz
diff --git a/debian/octave-octclip.docs b/debian/octave-octclip.docs
new file mode 100644
index 0000000..50d87d8
--- /dev/null
+++ b/debian/octave-octclip.docs
@@ -0,0 +1 @@
+doc/octclip.pdf
diff --git a/debian/patches/do-not-strip-debugging-symbols.patch b/debian/patches/do-not-strip-debugging-symbols.patch
new file mode 100644
index 0000000..920948a
--- /dev/null
+++ b/debian/patches/do-not-strip-debugging-symbols.patch
@@ -0,0 +1,18 @@
+Description: Do not strip the debugging symbols from _oc_polybool.oct
+ Also, include the -g option to enable debugging option for all
+ compilers.
+Author: Rafael Laboissiere <rafael@debian.org>
+Forwarded: https://savannah.gnu.org/bugs/index.php?55343
+Last-Update: 2020-05-26
+
+--- octave-octclip-1.0.8.orig/src/Makefile
++++ octave-octclip-1.0.8/src/Makefile
+@@ -40,7 +40,7 @@ compile:
+ $(MKOCTFILE) -c -I. segmento.c -o segmento.o
+ $(MKOCTFILE) -c -I. ventorno.c -o ventorno.o
+ $(MKOCTFILE) -c -I. proyecaux.c -o proyecaux.o
+- $(MKOCTFILE) -s -I. _oc_polybool.cc *.o
++ $(MKOCTFILE) -g -I. _oc_polybool.cc *.o
+
+ .PHONY: clean
+ clean:
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6d05119
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+do-not-strip-debugging-symbols.patch
+spelling-doc-oc-polybool.patch
diff --git a/debian/patches/spelling-doc-oc-polybool.patch b/debian/patches/spelling-doc-oc-polybool.patch
new file mode 100644
index 0000000..91baee1
--- /dev/null
+++ b/debian/patches/spelling-doc-oc-polybool.patch
@@ -0,0 +1,16 @@
+Description: Fix documentation in doc string of function _oc_polybool
+Author: Rafael Laboissière <rafael@debian.org>
+Forwarded: https://savannah.gnu.org/bugs/index.php?58446
+Last-Update: 2020-05-26
+
+--- octave-octclip-2.0.1.orig/src/_oc_polybool.cc
++++ octave-octclip-2.0.1/src/_oc_polybool.cc
+@@ -72,7 +72,7 @@ polygons they are separated by rows os (
+ @var{pp} is a three-column matrix with a number of rows equal to the number\n\
+ of polygons stored in the matrix @var{p}. The first column stores the row of\n\
+ @var{p} where the corresponding polygon starts, the second column the row of\n\
+-@var{p} where the polygon end, and the third colum is a mark identifying if\n\
++@var{p} where the polygon end, and the third column is a mark identifying if\n\
+ the polygon is a hole (value 0) or not (value 1). The values of the third\n\
+ column are relevant only in the case of the OR operation\n\n\
+ @var{ni} is the number of intersections between @var{sub} and @var{clip}.\n\n\
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..18d01a3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+%:
+ dh $@ --buildsystem=octave --with=octave
+
+override_dh_auto_clean:
+ make -C src cleanall
+ dh_auto_clean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..46ebe02
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt) \ No newline at end of file
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..b042922
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+Bug-Database: https://savannah.gnu.org/bugs/?group=octave
+Bug-Submit: https://savannah.gnu.org/bugs/?func=additem&group=octave
+Repository-Browse: https://octave.sourceforge.io/pkg-repository/octclip/
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3c44a4e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+http://sf.net/octave/octclip-(.+)\.tar\.gz