Salome HOME
Remove the GEOM patch related to opencv on CO6 - finally fixed in its sources
authorqc784398 <quentin.cozette@cea.fr>
Tue, 16 Mar 2021 18:01:53 +0000 (19:01 +0100)
committerqc784398 <quentin.cozette@cea.fr>
Tue, 16 Mar 2021 18:01:53 +0000 (19:01 +0100)
applications/SALOME-master.pyconf
products/patches/opencv_backward_compatibility.patch [deleted file]

index 066063cd5f906351cce1125af097c0143f783ab9..b2bb7ff435411da21bd14f5769133f8fbda5132e 100644 (file)
@@ -179,8 +179,6 @@ __overwrite__ :
    # GTK  compilation issue
     __condition__ : "VARS.dist in ['CO6']"
     'APPLICATION.products.opencv' : '2.4.13.5'
-    # Since OpenCV 4.X support, we need additional includes for old 2.X versions
-    'PRODUCTS.GEOM.default.patches' : ['opencv_backward_compatibility.patch']
     'APPLICATION.products.tbb' : '4.4'
     'APPLICATION.products.llvm' : '3.9.1-clang'
     'APPLICATION.products.mesa' : '13.0.6'
diff --git a/products/patches/opencv_backward_compatibility.patch b/products/patches/opencv_backward_compatibility.patch
deleted file mode 100644 (file)
index 870cf04..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx b/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx
-index f068387..8c45dac 100644
---- a/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx
-+++ b/src/ShapeRecognition/ShapeRec_FeatureDetector.hxx
-@@ -35,6 +35,8 @@
- #else
-  #include <opencv2/imgproc/imgproc.hpp>
-  #include <opencv2/highgui/highgui.hpp>
-+ #include <opencv2/opencv.hpp>
-+ #include <opencv2/legacy/compat.hpp>
- #endif
- // Qt