Skip to content

Commit 9e27ee2

Browse files
author
developer@arm-builder-3
committed
fix: modified debian avoid opencv dependency
1 parent d94c426 commit 9e27ee2

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ catkin_ws
1616

1717
debian/ros-*-dji-onboard-sdk-ros*
1818
debian/ros-*-dji-osdk-ros*
19+
debian/.debhelper/
20+
obj-aarch64-linux-gnu/
21+
*.*deb

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Source: ros-melodic-dji-osdk-ros
22
Section: misc
33
Priority: optional
44
Maintainer: kevin.hoo <kevin.hoo@dji.com>
5-
Build-Depends: debhelper (>= 9.0.0), ros-melodic-actionlib, ros-melodic-actionlib-msgs, ros-melodic-catkin, ros-melodic-geometry-msgs, ros-melodic-message-filters, ros-melodic-message-generation, ros-melodic-nav-msgs, ros-melodic-nmea-msgs, ros-melodic-roscpp, ros-melodic-rospy, ros-melodic-std-msgs
5+
Build-Depends: debhelper (>= 9.0.0), ros-melodic-actionlib, ros-melodic-actionlib-msgs, ros-melodic-catkin, ros-melodic-cv-bridge, ros-melodic-geometry-msgs, ros-melodic-message-filters, ros-melodic-message-generation, ros-melodic-nav-msgs, ros-melodic-nmea-msgs, ros-melodic-roscpp, ros-melodic-rospy, ros-melodic-std-msgs
66
Homepage: http://developer.dji.com/onboard-sdk/documentation/github-platform-docs/ROS/README.html
77
Standards-Version: 3.9.2
88

99
Package: ros-melodic-dji-osdk-ros
1010
Architecture: any
11-
Depends: ${shlibs:Depends}, ${misc:Depends}, ros-melodic-actionlib, ros-melodic-actionlib-msgs, ros-melodic-geometry-msgs, ros-melodic-message-filters, ros-melodic-message-runtime, ros-melodic-nav-msgs, ros-melodic-nmea-msgs, ros-melodic-roscpp, ros-melodic-rospy, ros-melodic-std-msgs
11+
Depends: ros-melodic-actionlib, ros-melodic-actionlib-msgs, ros-melodic-cv-bridge, ros-melodic-geometry-msgs, ros-melodic-message-filters, ros-melodic-message-runtime, ros-melodic-nav-msgs, ros-melodic-nmea-msgs, ros-melodic-roscpp, ros-melodic-rospy, ros-melodic-std-msgs
1212
Description: A ROS package using DJI Onboard SDK

debian/rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ override_dh_shlibdeps:
5151
# in the install tree that was dropped by catkin, and source it. It will
5252
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
5353
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
54-
dh_shlibdeps -l$(CURDIR)/debian/ros-melodic-dji-osdk-ros//opt/ros/melodic/lib/
54+
dh_shlibdeps -l$(CURDIR)/debian/ros-melodic-dji-osdk-ros//opt/ros/melodic/lib/ -Xopencv
5555

5656
override_dh_auto_install:
5757
# In case we're installing to a non-standard location, look for a setup.sh
@@ -66,4 +66,4 @@ override_dh_builddeb:
6666

6767
override_dh_auto_clean:
6868
rm -f *.*deb
69-
rm -rf obj-*
69+
rm -rf obj-*

0 commit comments

Comments
 (0)