summaryrefslogtreecommitdiff
path: root/aruco-markers.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-12 11:21:45 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-12 11:21:45 +0000
commit26745db647402b0ccd51e44f8659bdf177236b5d (patch)
tree488c755cd1cf8ab349b56bb23c49a214b2a6a4a3 /aruco-markers.spec
parentf9c38eeb98f4b3ae4c1ee6fbeb95c3634b3d4503 (diff)
automatic import of ros-humble-aruco-markersopeneuler24.03_LTS_SP3
Diffstat (limited to 'aruco-markers.spec')
-rw-r--r--aruco-markers.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/aruco-markers.spec b/aruco-markers.spec
index beccb4b..2414504 100644
--- a/aruco-markers.spec
+++ b/aruco-markers.spec
@@ -4,7 +4,7 @@
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 0.0.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A ros2 node for detecting aruco markers in camera images
License: MIT
URL: https://github.com/namo-robotics/aruco_markers/tree/humble
@@ -48,7 +48,8 @@ A ros2 node for detecting aruco markers in camera images
%prep
%autosetup -n %{RosPkgName}-%{src_version}
# openEuler opencv 4.5.2 lacks the aruco contrib module; bundle from opencv_contrib 4.5.2
-sed -i 's/find_package(OpenCV REQUIRED COMPONENTS core imgproc aruco)/find_package(OpenCV REQUIRED COMPONENTS core imgproc)/' aruco_markers/CMakeLists.txt
+# Remove aruco component (bundled) but add calib3d (was transitively pulled by aruco)
+sed -i 's/find_package(OpenCV REQUIRED COMPONENTS core imgproc aruco)/find_package(OpenCV REQUIRED COMPONENTS core imgproc calib3d)/' aruco_markers/CMakeLists.txt
# Replace catch-all <opencv2/opencv.hpp> with specific includes to prevent
# system OpenCV 4.8+ objdetect aruco headers (new API) from being pulled in
# and conflicting with bundled 4.5.x aruco (old API). Code only uses core,
@@ -143,6 +144,11 @@ make install DESTDIR=%{buildroot}
/opt/ros/%{ros_distro}
%changelog
+* Mon Oct 12 2026 ai-importer <ai-importer@openeuler.org> - 0.0.3-5
+- Add calib3d to find_package(OpenCV COMPONENTS) to resolve linker errors
+ (projectPoints/solvePnP/calibrateCamera/Rodrigues/drawFrameAxes/undistortPoints/findHomography)
+ caused by removing aruco component which transitively pulled calib3d
+
* Mon Oct 12 2026 ai-importer <ai-importer@openeuler.org> - 0.0.3-4
- Replace catch-all <opencv2/opencv.hpp> with specific includes (core/imgproc/calib3d)
- Mask system objdetect/aruco_*.hpp headers to prevent new/old API conflict