[saga] 05/06: Add patch to disable use of cluster_isodata.
Bas Couwenberg
sebastic at debian.org
Sun Jul 3 21:43:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository saga.
commit d54484c9ee5bbdb68ad3a75ca0e80131e1914a00
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Jul 3 21:15:32 2016 +0200
Add patch to disable use of cluster_isodata.
---
debian/changelog | 1 +
debian/patches/disable-cluster_isodata.patch | 27 +++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 29 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0e5a47f..6f30b87 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ saga (2.3.0+dfsg1-1~exp1) UNRELEASED; urgency=medium
* Team upload.
* New repacked upstream release.
* Also exclude GPL-3+ licensed files from repacked upstream tarballs.
+ * Add patch to disable use of cluster_isodata.
-- Bas Couwenberg <sebastic at debian.org> Sun, 03 Jul 2016 22:03:23 +0200
diff --git a/debian/patches/disable-cluster_isodata.patch b/debian/patches/disable-cluster_isodata.patch
new file mode 100644
index 0000000..b1fda87
--- /dev/null
+++ b/debian/patches/disable-cluster_isodata.patch
@@ -0,0 +1,27 @@
+Description: Disable use of cluster_isodata.
+ cluster_isodata.cpp is excluded from repacked
+ upstream tarballs due to license issues.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/src/modules/imagery/imagery_classification/Makefile.am
++++ b/src/modules/imagery/imagery_classification/Makefile.am
+@@ -14,7 +14,6 @@ classify_cluster_analysis.cpp\
+ classify_isocluster.cpp\
+ classify_supervised.cpp\
+ classify_supervised_polygons.cpp\
+-cluster_isodata.cpp\
+ decision_tree.cpp\
+ MLB_Interface.cpp\
+ change_detection.h\
+--- a/src/modules/imagery/imagery_classification/MLB_Interface.cpp
++++ b/src/modules/imagery/imagery_classification/MLB_Interface.cpp
+@@ -120,7 +120,7 @@ CSG_Module * Create_Module(int i)
+ case 4: return( new CPolygon_Classify_Supervised( true) );
+ case 5: return( new CPolygon_Classify_Supervised(false) );
+ case 6: return( new CClassification_Quality );
+- case 7: return( new CGrid_Cluster_ISODATA );
++// case 7: return( new CGrid_Cluster_ISODATA );
+
+ case 8: return( NULL );
+ default: return( MLB_INTERFACE_SKIP_MODULE );
diff --git a/debian/patches/series b/debian/patches/series
index 6a53861..da9c2c1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ Use-debian-version-of-libsvm.patch
0001-vigra-hdf5-include.patch
Use-debian-version-dxflib.patch
spelling-errors.patch
+disable-cluster_isodata.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/saga.git
More information about the Pkg-grass-devel
mailing list