diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild index cb23a31e93..54837333d5 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 ebfc9c5027..6d6fe86584 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"