Skip to content

Commit

Permalink
Generated debian files for stretch
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbinney committed Jul 7, 2020
1 parent c473209 commit d171afa
Show file tree
Hide file tree
Showing 13 changed files with 53 additions and 39 deletions.
25 changes: 25 additions & 0 deletions debian/changelog
@@ -0,0 +1,25 @@
ros-melodic-fadecandy-driver (0.1.2-1stretch) stretch; urgency=high

* Merge pull request #10 <https://github.com/iron-ox/fadecandy_ros/issues/10> from eurogroep/chore/log-io-error
chore: log IO error
* Merge pull request #9 <https://github.com/iron-ox/fadecandy_ros/issues/9> from eurogroep/fix/rospy-shutdown
fix(shutdown): Shutdown gracefully when no connection was set-up
* Contributors: Rein Appeldoorn

-- Jon Binney <jon.binney@ironox.com> Mon, 06 Jul 2020 07:00:00 -0000

ros-melodic-fadecandy-driver (0.1.1-1stretch) stretch; urgency=high

* Merge pull request #7 <https://github.com/iron-ox/fadecandy_ros/issues/7> from jonbinney/python3-fixes
Fixes for python3/noetic compatibility
* Contributors: Jon Binney

-- Jon Binney <jon.binney@ironox.com> Wed, 03 Jun 2020 07:00:00 -0000

ros-melodic-fadecandy-driver (0.1.0-1stretch) stretch; urgency=high

* Initial release.

-- Jon Binney <jon.binney@ironox.com> Thu, 28 May 2020 07:00:00 -0000


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

This file was deleted.

1 change: 1 addition & 0 deletions debian/compat
@@ -0,0 +1 @@
9
1 change: 0 additions & 1 deletion debian/compat.em

This file was deleted.

12 changes: 12 additions & 0 deletions debian/control
@@ -0,0 +1,12 @@
Source: ros-melodic-fadecandy-driver
Section: misc
Priority: optional
Maintainer: Jon Binney <jon.binney@ironox.com>
Build-Depends: debhelper (>= 9.0.0), ros-melodic-catkin
Homepage:
Standards-Version: 3.9.2

Package: ros-melodic-fadecandy-driver
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python-usb, ros-melodic-diagnostic-updater, ros-melodic-fadecandy-msgs, ros-melodic-rospy
Description: ROS driver for fadecandy LED controllers
14 changes: 0 additions & 14 deletions debian/control.em

This file was deleted.

1 change: 0 additions & 1 deletion debian/copyright.em

This file was deleted.

3 changes: 3 additions & 0 deletions debian/gbp.conf
@@ -0,0 +1,3 @@
[git-buildpackage]
upstream-tag=release/melodic/fadecandy_driver/0.1.2-1
upstream-tree=tag
3 changes: 0 additions & 3 deletions debian/gbp.conf.em

This file was deleted.

20 changes: 10 additions & 10 deletions debian/rules.em → debian/rules
Expand Up @@ -13,49 +13,49 @@ 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/melodic/lib/pkgconfig
# Explicitly enable -DNDEBUG, see:
# https://github.com/ros-infrastructure/bloom/issues/327
export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG

%:
dh $@@ -v --buildsystem=cmake
dh $@ -v --buildsystem=cmake

override_dh_auto_configure:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, 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/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
dh_auto_configure -- \
-DCATKIN_BUILD_BINARY_PACKAGE="1" \
-DCMAKE_INSTALL_PREFIX="@(InstallationPrefix)" \
-DCMAKE_PREFIX_PATH="@(InstallationPrefix)"
-DCMAKE_INSTALL_PREFIX="/opt/ros/melodic" \
-DCMAKE_PREFIX_PATH="/opt/ros/melodic"

override_dh_auto_build:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, 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/melodic/setup.sh" ]; then . "/opt/ros/melodic/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 that was dropped by catkin, 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/melodic/setup.sh" ]; then . "/opt/ros/melodic/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 that was dropped by catkin, 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/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
dh_shlibdeps -l$(CURDIR)/debian/ros-melodic-fadecandy-driver//opt/ros/melodic/lib/

override_dh_auto_install:
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, 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/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
dh_auto_install
1 change: 1 addition & 0 deletions debian/source/format
@@ -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
@@ -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 d171afa

Please sign in to comment.