Skip to content

Commit

Permalink
Generated debian files for jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
victorpaleologue committed Dec 5, 2023
1 parent 21faf9c commit 895e975
Show file tree
Hide file tree
Showing 13 changed files with 1,322 additions and 46 deletions.
1,288 changes: 1,288 additions & 0 deletions debian/changelog

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions debian/changelog.em

This file was deleted.

1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
1 change: 0 additions & 1 deletion debian/compat.em

This file was deleted.

14 changes: 14 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Source: ros-iron-naoqi-driver
Section: misc
Priority: optional
Maintainer: Victor Paléologue <victor.paleologue@palaio.eu>
Build-Depends: debhelper (>= 9.0.0), libboost-all-dev, ros-iron-action-msgs, ros-iron-ament-cmake, ros-iron-ament-lint-auto <!nocheck>, ros-iron-ament-lint-common <!nocheck>, ros-iron-cv-bridge, ros-iron-diagnostic-msgs, ros-iron-diagnostic-updater, ros-iron-geometry-msgs, ros-iron-image-transport, ros-iron-kdl-parser, ros-iron-naoqi-bridge-msgs (>= 2.0.0), ros-iron-naoqi-libqi, ros-iron-naoqi-libqicore, ros-iron-rclcpp, ros-iron-rclcpp-action, ros-iron-robot-state-publisher, ros-iron-rosidl-default-generators, ros-iron-sensor-msgs, ros-iron-tf2-geometry-msgs, ros-iron-tf2-msgs, ros-iron-tf2-ros, ros-iron-ros-workspace, ros-iron-rosidl-typesupport-fastrtps-c, ros-iron-rosidl-typesupport-fastrtps-cpp
Homepage:
Standards-Version: 3.9.2

Package: ros-iron-naoqi-driver
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libboost-all-dev, ros-iron-action-msgs, ros-iron-cv-bridge, ros-iron-image-transport, ros-iron-kdl-parser, ros-iron-naoqi-bridge-msgs (>= 2.0.0), ros-iron-naoqi-libqi, ros-iron-naoqi-libqicore, ros-iron-rclcpp, ros-iron-rclcpp-action, ros-iron-robot-state-publisher, ros-iron-tf2-ros, ros-iron-ros-workspace
Conflicts: ros-iron-nao-driver, ros-iron-naoqi-rosbridge
Description: Driver module between Aldebaran's NAOqiOS and ROS2.
It publishes all sensor and actuator data as well as basic diagnostic for battery, temperature. It subscribes also to RVIZ simple goal and cmd_vel for teleop.
14 changes: 0 additions & 14 deletions debian/control.em

This file was deleted.

10 changes: 3 additions & 7 deletions debian/copyright.em → debian/copyright
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
Format: Bloom subset of https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: @(Name)
@[if BugTracker]Upstream-Contact: @(BugTracker)@\n@[end if]@
@[if Source]Source: @(Source)@\n@[end if]@
@[for License, Text in Licenses]@
Upstream-Name: naoqi_driver

Files: See file headers in repository for details
Copyright: See package copyright in source code for details
License: @(License)
@(Text)
@[end for]@
License: BSD
See repository for full license text
3 changes: 3 additions & 0 deletions debian/gbp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[git-buildpackage]
upstream-tag=release/iron/naoqi_driver/2.1.1-1
upstream-tree=tag
3 changes: 0 additions & 3 deletions debian/gbp.conf.em

This file was deleted.

22 changes: 11 additions & 11 deletions debian/rules.em → debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export DH_VERBOSE=1
# https://code.ros.org/trac/ros/ticket/2977
# https://code.ros.org/trac/ros/ticket/3842
export LDFLAGS=
export PKG_CONFIG_PATH=@(InstallationPrefix)/lib/pkgconfig
export PKG_CONFIG_PATH=/opt/ros/iron/lib/pkgconfig
# Explicitly enable -DNDEBUG, see:
# https://github.com/ros-infrastructure/bloom/issues/327
export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG
Expand All @@ -24,44 +24,44 @@ endif
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)

%:
dh $@@ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE)
dh $@ -v --buildsystem=cmake --builddirectory=.obj-$(DEB_HOST_GNU_TYPE)

override_dh_auto_configure:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
if [ -f "/opt/ros/iron/setup.sh" ]; then . "/opt/ros/iron/setup.sh"; fi && \
dh_auto_configure -- \
-DCMAKE_INSTALL_PREFIX="@(InstallationPrefix)" \
-DAMENT_PREFIX_PATH="@(InstallationPrefix)" \
-DCMAKE_PREFIX_PATH="@(InstallationPrefix)" \
-DCMAKE_INSTALL_PREFIX="/opt/ros/iron" \
-DAMENT_PREFIX_PATH="/opt/ros/iron" \
-DCMAKE_PREFIX_PATH="/opt/ros/iron" \
$(BUILD_TESTING_ARG)

override_dh_auto_build:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
if [ -f "/opt/ros/iron/setup.sh" ]; then . "/opt/ros/iron/setup.sh"; fi && \
dh_auto_build

override_dh_auto_test:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
echo -- Running tests. Even if one of them fails the build is not canceled.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
if [ -f "/opt/ros/iron/setup.sh" ]; then . "/opt/ros/iron/setup.sh"; fi && \
dh_auto_test || true

override_dh_shlibdeps:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
dh_shlibdeps -l$(CURDIR)/debian/@(Package)/@(InstallationPrefix)/lib/
if [ -f "/opt/ros/iron/setup.sh" ]; then . "/opt/ros/iron/setup.sh"; fi && \
dh_shlibdeps -l$(CURDIR)/debian/ros-iron-naoqi-driver//opt/ros/iron/lib/

override_dh_auto_install:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
if [ -f "/opt/ros/iron/setup.sh" ]; then . "/opt/ros/iron/setup.sh"; fi && \
dh_auto_install
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
1 change: 0 additions & 1 deletion debian/source/format.em

This file was deleted.

3 changes: 1 addition & 2 deletions debian/source/options.em → debian/source/options
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@[if format and format == 'quilt']@
# Automatically add upstream changes to the quilt overlay.
# http://manpages.ubuntu.com/manpages/trusty/man1/dpkg-source.1.html
# This supports reusing the orig.tar.gz for debian increments.
auto-commit
@[end if]

0 comments on commit 895e975

Please sign in to comment.