diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2020-10-31 16:30:29 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-11-07 14:02:46 +0700 |
commit | 4c1d4fe46b3a7b31c1b3e9ce302b0dc3e981e508 (patch) | |
tree | 89a3fbda7283794014acfccf55628150c1e7c53b /gis | |
parent | 22d983114e468f35efb2f699ccc2708d5df71936 (diff) |
gis/OTB: Updated for version 7.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r-- | gis/OTB/OTB.SlackBuild | 10 | ||||
-rw-r--r-- | gis/OTB/OTB.info | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild index cb23a31e93df2..54837333d5d33 100644 --- a/gis/OTB/OTB.SlackBuild +++ b/gis/OTB/OTB.SlackBuild @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=OTB -VERSION=${VERSION:-7.1.0} +VERSION=${VERSION:-7.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,6 +83,10 @@ sed -i '1i\using namespace std;' \ Modules/ThirdParty/OssimPlugins/src/ossim/*.{h,cpp} \ Modules/ThirdParty/OssimPlugins/src/ossim/otb/*.cpp \ Modules/Adapters/OSSIMAdapters/src/*.cxx +sed -i "s/[{]0.0[}]//" \ + Modules/{Learning,Segmentation,Filtering,Registration}/*/include/*.h \ + Modules/Core/Common/include/otbImageRegionAdaptativeSplitter.h \ + Modules/Core/Transform/include/otbImageToGenericRSOutputParameters.h MONTEVERDI=${MONTEVERDI:-OFF} BUILD_MONTEVERDI="-DOTB_USE_QWT=$MONTEVERDI -DOTB_USE_GLEW=$MONTEVERDI -DOTB_USE_OPENGL=$MONTEVERDI" @@ -104,10 +108,8 @@ cd build -DOTB_USE_OPENCV=${OPENCV:-OFF} \ -DOTB_USE_OPENMP=ON \ -DOTB_USE_SHARK=ON \ + -DOTB_INSTALL_PYTHON_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \ -DOTB_WRAP_PYTHON=OFF \ - -DOTB_INSTALL_PYTHON_DIR=$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \ - -DOTB_WRAP_PYTHON3=ON \ - -DOTB_INSTALL_PYTHON3_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \ -DOTB_INSTALL_DOC_DIR=doc/$PRGNAM-$VERSION \ -DGDAL_CONFIG_CHECKING:BOOL=OFF \ $BUILD_MONTEVERDI \ diff --git a/gis/OTB/OTB.info b/gis/OTB/OTB.info index ebfc9c5027811..6d6fe8658470a 100644 --- a/gis/OTB/OTB.info +++ b/gis/OTB/OTB.info @@ -1,8 +1,8 @@ PRGNAM="OTB" -VERSION="7.1.0" +VERSION="7.2.0" HOMEPAGE="http://orfeo-toolbox.org/otb/" -DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/7.1.0/OTB-7.1.0.tar.gz" -MD5SUM="e8e01a9ef4fb77a44f4aa618cd51863f" +DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/7.2.0/OTB-7.2.0.tar.gz" +MD5SUM="925a7bcf121c72a24dc99924c1a0c02a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="blas gdal ITK OpenSceneGraph muParser python3 ossim Shark tinyxml" |