From d2ef3d680df8d7c3b6f50d43f7d817cab500e89b Mon Sep 17 00:00:00 2001 From: ahr Date: Tue, 7 Jan 2025 18:54:55 +0100 Subject: [PATCH] Generated debian files for noble --- debian/changelog | 201 ++++++++++++++++++++++++++ debian/changelog.em | 7 - debian/compat | 1 + debian/compat.em | 1 - debian/control | 12 ++ debian/control.em | 14 -- debian/{copyright.em => copyright} | 10 +- debian/gbp.conf | 3 + debian/gbp.conf.em | 3 - debian/{rules.em => rules} | 22 +-- debian/source/format | 1 + debian/source/format.em | 1 - debian/source/{options.em => options} | 3 +- 13 files changed, 233 insertions(+), 46 deletions(-) create mode 100644 debian/changelog delete mode 100644 debian/changelog.em create mode 100644 debian/compat delete mode 100644 debian/compat.em create mode 100644 debian/control delete mode 100644 debian/control.em rename debian/{copyright.em => copyright} (50%) create mode 100644 debian/gbp.conf delete mode 100644 debian/gbp.conf.em rename debian/{rules.em => rules} (71%) create mode 100644 debian/source/format delete mode 100644 debian/source/format.em rename debian/source/{options.em => options} (81%) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..006c3d8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,201 @@ +ros-rolling-automatika-ros-sugar (0.2.5-1noble) noble; urgency=high + + * (fix) Gets imports and default values based on installed distro + * (fix) Fix launch and launch_ros imports based on ros distro + * Contributors: ahr, mkabtoul + + -- Automatika Robotics Mon, 06 Jan 2025 23:00:00 -0000 + +ros-rolling-automatika-ros-sugar (0.2.4-1noble) noble; urgency=high + + * (fix) Adds algorithm auto re-configuration from YAML file + * (fix) Fixes callback got_msg property + * (feature) Adds topics callbacks/conversions reparsing to component + Supports running components from different packages in one script and each component uses its own package callbacks/conversions + * (fix) Updates AllowedTopics config and its validator + * (refactor) Removes PIL as a dependancy + * (fix) Fixes component state transition logging + * (fix) Fixes order to custom method execution in component lifecycle transition methods + * (refactor) Removes BaseNode class + * (fix) Fixes packaging workflow formatting + * (fix) Removes redundant methods from components + * (chore) Increments release action version + * (chore) Adds new action in debs creation workflow + * (refactor) Formats utils + * (refactor) Minor refactoring in utils + * (fix) Removes fix for color correction as the transformation is now applied at the time of visualization + * (fix) Adds color transformation when reading images of yuv encoding + * (chore) Changes name of release action + * (feature) Adds component algorithm config management to the api + * (fix) fixes datatypes update method for using multiple packages + * (chore) Cleans up cmake and packaging + * (refactor) Improves error message when a topic of unsupported type is created + * (refactor) Handles additional datatypes provided by user packages + * (fix) Pins release mirror workflow to run only on release publishing + * (fix) Adds branch name to release workflow + * (fix) Fixes name of action + * (feature) Adds release mirror action + * (docs) Removes autogenerated docs + * (docs) Adds minor modification to readme + * (docs) Changes package description + * (feature) Adds ExecuteMethod service to BaseComponent + * (fix) Minor fix in conversion method + * (refactor) Makes compressed image a realization of image + * (fix) Fixes ros compressed image conversion util + * (feature) Adds support for CompressedImage msg + * (feature) Adds ros_log_level option to each added package + * (feature) Adds additional supported types argument to BaseComponent and Topic validators + * (fix) Adds algorithm auto re-configuration from YAML file + * (fix) Fixes callback got_msg property + * (feature) Adds topics callbacks/conversions reparsing to component + Supports running components from different packages in one script and each component uses its own package callbacks/conversions + * (fix) Updates AllowedTopics config and its validator + * (refactor) Removes PIL as a dependancy + * (fix) Fixes component state transition logging + * (fix) Fixes order to custom method execution in component lifecycle transition methods + * (refactor) Removes BaseNode class + * (fix) Fixes packaging workflow formatting + * (fix) Removes redundant methods from components + * (chore) Increments release action version + * (chore) Adds new action in debs creation workflow + * (refactor) Formats utils + * (refactor) Minor refactoring in utils + * (fix) Removes fix for color correction as the transformation is now applied at the time of visualization + * (fix) Adds color transformation when reading images of yuv encoding + * (chore) Changes name of release action + * (feature) Adds component algorithm config management to the api + * (fix) fixes datatypes update method for using multiple packages + * (chore) Cleans up cmake and packaging + * (refactor) Improves error message when a topic of unsupported type is created + * (refactor) Handles additional datatypes provided by user packages + * (fix) Pins release mirror workflow to run only on release publishing + * (fix) Adds branch name to release workflow + * (fix) Fixes name of action + * (feature) Adds release mirror action + * (docs) Removes autogenerated docs + * (docs) Adds minor modification to readme + * (docs) Changes package description + * (feature) Adds ExecuteMethod service to BaseComponent + * (fix) Fixes OccupnacyGrid data publishing from numpy + * (fix) Minor fix in conversion method + * (refactor) Makes compressed image a realization of image + * (fix) Fixes ros compressed image conversion util + * (feature) Adds support for CompressedImage msg + * (feature) Adds ros_log_level option to each added package + * (feature) Adds additional supported types argument to BaseComponent and Topic validators + * (fix) Merge pull request #14 + * (chore) Updates package name to automatika_ros_sugar + * (fix) Checks numpy array shape in OccupancyGrid converter + * (feature) Adds stamped header and frame_id to ros publishers/callbacks + * (docs) Updates install instructions + * Contributors: ahr, mkabtoul + + -- Automatika Robotics Thu, 26 Dec 2024 23:00:00 -0000 + +ros-rolling-automatika-ros-sugar (0.2.3-1noble) noble; urgency=high + + * (chore) bump version 0.2.2 -> 0.2.3 + * (chore) Adds deb packaging scripts and actions (#13 ) + * (docs) Removes notice + * Contributors: ahr + + -- Automatika Robotics Tue, 12 Nov 2024 23:00:00 -0000 + +ros-rolling-automatika-ros-sugar (0.2.2-1noble) noble; urgency=high + + * (chore) bump version 0.2.1 -> 0.2.2 + * (feature) Adds activation timeout to monitor and launcher + * (fix) Fixes publishing numpy data to ROS OcuupancyGrid + * (refactor) Updates OccupancyGrid get_output using numpy operations + * Contributors: mkabtoul + + -- Automatika Robotics Sun, 03 Nov 2024 23:00:00 -0000 + +ros-rolling-automatika-ros-sugar (0.2.1-1noble) noble; urgency=high + + * (chore) bump version 0.2.0 -> 0.2.1 + * (feature) Adds support for external tool calling in multiprocessing + * Contributors: ahr + + -- Automatika Robotics Mon, 28 Oct 2024 23:00:00 -0000 + +ros-rolling-automatika-ros-sugar (0.2.0-1noble) noble; urgency=high + + * (chore) Bump version 0.1.1 -> 0.2.0 + * Merge pull request #12 from automatika-robotics/feature/external_processors + Adds external processor support when running components in multiprocessing + * (refactor) Makes msgpack a global dependancy + * (fix) Fixes deserialization of external processors and handling of processor result in launcher + * (fix) Corrects the serialization of numpy arrays within lists + * (feature) Changes defaults for launcher parameters when using multiprocessing + * (fix) Fixes handling composite type check for deserialization and input/output deserialization in components + * (fix) Adds node name as parameter to callbacks for init + * (fix) Adds alias to attrs private attribute in BaseComponentConfig + * (fix) Restores executable to old version + * Merge branch 'feature/external_processors' of github.com:automatika-robotics/ros-sugar into feature/external_processors + * (fix) Fixes new method name in launcher + * (fix) Moves callbackgroup to BaseComponentConfig and changes initialization of inputs/outputs in component + * (fix) Fixes serialization of callbackgroup in config + * (fix) Fixes type hints for compatibility + * (docs) Fixes ubuntu version for dependancy problems + * (refactor) Makes msgpack a functional dependency + * (refactor) Adds handling of callback group and input/output initialization to facilitate multiprocessing + * (feature) Adds handling of callback group for multiprocess launch + * (fix) Adds serialization of np arrays and tuples + * (fix) Adds converter for QoS profile for serialization + * (refactor) Changes inputs/outputs handling in executable + * (refactor) Changes name of enum convert utility function + * (fix) Fixes use of multi processors for same topic in launcher + * (fix) Fix package installation for documentation workflow + * (feature) Adds support for multiple external processors on the same topic + * (fix) Fixes visibility of external_processors to protected + * (fix) Fixes typo in attaching external preprocessors + * (feature) Adds unix socket based listener threads for using external processors with components being run in multiprocessing + - Modifies executable to add an argument for external processors + - Adds setting and getting for external processor json in component + - Adds setting up of external processors on component activation and destruction on component stop + - Adds setup of external processor sockets and thread pool in launcher + * (fix) Moves callbackgroup to BaseComponentConfig and changes initialization of inputs/outputs in component + * (fix) Fixes serialization of callbackgroup in config + * (fix) Fixes type hints for compatibility + * (docs) Fixes ubuntu version for dependancy problems + * (refactor) Makes msgpack a functional dependency + * (refactor) Adds handling of callback group and input/output initialization to facilitate multiprocessing + * (feature) Adds handling of callback group for multiprocess launch + * (fix) Adds serialization of np arrays and tuples + * (fix) Adds converter for QoS profile for serialization + * (refactor) Changes inputs/outputs handling in executable + * (refactor) Changes name of enum convert utility function + * (feature) Adds event processing options and supports lists in event values + Adds options to handle an event once or handle with a time delay + * (fix) Uses List from typing in type hints + * (feature) Adds handle_once and event_delay options to Event + * (feature) Adds list to supported event trigger values + * (fix) Handles keep_alive in component parameter update service requests + * (fix) Passes monitor executor to service client send_req + * (fix) Fixes use of multi processors for same topic in launcher + * (fix) Fix package installation for documentation workflow + * (feature) Adds support for multiple external processors on the same topic + * (fix) Fixes visibility of external_processors to protected + * (fix) Fixes typo in attaching external preprocessors + * (feature) Adds unix socket based listener threads for using external processors with components being run in multiprocessing + - Modifies executable to add an argument for external processors + - Adds setting and getting for external processor json in component + - Adds setting up of external processors on component activation and destruction on component stop + - Adds setup of external processor sockets and thread pool in launcher + * (fix) Fixes minor bugs in base component and launcher (#10 ) + * (fix) Fixes the handling of yuv422_yuy2 encoding in image reading util function + * (fix) Adds process id to monitor node name + * (fix) Fixes type check for callables in attaching post and pre processors + * (fix) Updates component launch arguments after parsing events_actions + * (docs) Updates docs url links in readme + * (docs) Adds github workflow for docs (#9 ) + * (fix) Adds handling image encodings with alpha channel + * Create LICENSE + * Initial release version 0.1.1 (#8 ) + * init commit + * Contributors: ahr, aleph-ra, mkabtoul + + -- Automatika Robotics Thu, 24 Oct 2024 22:00:00 -0000 + + diff --git a/debian/changelog.em b/debian/changelog.em deleted file mode 100644 index 3585909..0000000 --- a/debian/changelog.em +++ /dev/null @@ -1,7 +0,0 @@ -@[for change_version, change_date, changelog, main_name, main_email in changelogs]@(Package) (@(change_version)@(DebianInc)@(Distribution)) @(Distribution); urgency=high - -@(changelog) - - -- @(main_name) <@(main_email)> @(change_date) - -@[end for] diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/compat.em b/debian/compat.em deleted file mode 100644 index 7a87216..0000000 --- a/debian/compat.em +++ /dev/null @@ -1 +0,0 @@ -@(debhelper_version) diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..beefb9b --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: ros-rolling-automatika-ros-sugar +Section: misc +Priority: optional +Maintainer: Automatika Robotics +Build-Depends: debhelper (>= 9.0.0), python3-jinja2, python3-msgpack, python3-numpy, python3-opencv, ros-rolling-ament-cmake, ros-rolling-ament-cmake-python, ros-rolling-builtin-interfaces, ros-rolling-geometry-msgs, ros-rolling-lifecycle-msgs, ros-rolling-nav-msgs, ros-rolling-rclcpp, ros-rolling-rclpy, ros-rolling-rosidl-default-generators, ros-rolling-sensor-msgs, ros-rolling-std-msgs, ros-rolling-tf2-ros, ros-rolling-ros-workspace, ros-rolling-rosidl-typesupport-fastrtps-c, ros-rolling-rosidl-typesupport-fastrtps-cpp +Homepage: https://github.com/automatika/ros-sugar +Standards-Version: 3.9.2 + +Package: ros-rolling-automatika-ros-sugar +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python3-jinja2, python3-msgpack, python3-numpy, python3-opencv, ros-rolling-builtin-interfaces, ros-rolling-geometry-msgs, ros-rolling-lifecycle-msgs, ros-rolling-nav-msgs, ros-rolling-rclcpp, ros-rolling-rclpy, ros-rolling-rosidl-default-runtime, ros-rolling-sensor-msgs, ros-rolling-std-msgs, ros-rolling-tf2-ros, ros-rolling-ros-workspace +Description: Syntactic sugar for ROS2 nodes creation and management diff --git a/debian/control.em b/debian/control.em deleted file mode 100644 index 6d7b65c..0000000 --- a/debian/control.em +++ /dev/null @@ -1,14 +0,0 @@ -Source: @(Package) -Section: misc -Priority: optional -Maintainer: @(Maintainer) -Build-Depends: debhelper (>= @(debhelper_version).0.0), @(', '.join(BuildDepends)) -Homepage: @(Homepage) -Standards-Version: 3.9.2 - -Package: @(Package) -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, @(', '.join(Depends)) -@[if Conflicts]Conflicts: @(', '.join(Conflicts))@\n@[end if]@ -@[if Replaces]Replaces: @(', '.join(Replaces))@\n@[end if]@ -Description: @(Description) diff --git a/debian/copyright.em b/debian/copyright similarity index 50% rename from debian/copyright.em rename to debian/copyright index bc82fd5..af7e644 100644 --- a/debian/copyright.em +++ b/debian/copyright @@ -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: automatika_ros_sugar Files: See file headers in repository for details Copyright: See package copyright in source code for details -License: @(License) - @(Text) -@[end for]@ +License: MIT + See repository for full license text diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..5edaec8 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[git-buildpackage] +upstream-tag=release/rolling/automatika_ros_sugar/0.2.5-1 +upstream-tree=tag diff --git a/debian/gbp.conf.em b/debian/gbp.conf.em deleted file mode 100644 index ad24a16..0000000 --- a/debian/gbp.conf.em +++ /dev/null @@ -1,3 +0,0 @@ -[git-buildpackage] -upstream-tag=@(release_tag) -upstream-tree=tag diff --git a/debian/rules.em b/debian/rules similarity index 71% rename from debian/rules.em rename to debian/rules index a856369..b1c916e 100755 --- a/debian/rules.em +++ b/debian/rules @@ -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/rolling/lib/pkgconfig # Explicitly enable -DNDEBUG, see: # https://github.com/ros-infrastructure/bloom/issues/327 export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG @@ -24,24 +24,24 @@ 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/rolling/setup.sh" ]; then . "/opt/ros/rolling/setup.sh"; fi && \ dh_auto_configure -- \ - -DCMAKE_INSTALL_PREFIX="@(InstallationPrefix)" \ - -DAMENT_PREFIX_PATH="@(InstallationPrefix)" \ - -DCMAKE_PREFIX_PATH="@(InstallationPrefix)" \ + -DCMAKE_INSTALL_PREFIX="/opt/ros/rolling" \ + -DAMENT_PREFIX_PATH="/opt/ros/rolling" \ + -DCMAKE_PREFIX_PATH="/opt/ros/rolling" \ $(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/rolling/setup.sh" ]; then . "/opt/ros/rolling/setup.sh"; fi && \ dh_auto_build override_dh_auto_test: @@ -49,19 +49,19 @@ override_dh_auto_test: # 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/rolling/setup.sh" ]; then . "/opt/ros/rolling/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/:$(CURDIR)/debian/@(Package)/@(InstallationPrefix)/opt/@(Name)/lib/ + if [ -f "/opt/ros/rolling/setup.sh" ]; then . "/opt/ros/rolling/setup.sh"; fi && \ + dh_shlibdeps -l$(CURDIR)/debian/ros-rolling-automatika-ros-sugar//opt/ros/rolling/lib/:$(CURDIR)/debian/ros-rolling-automatika-ros-sugar//opt/ros/rolling/opt/automatika_ros_sugar/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/rolling/setup.sh" ]; then . "/opt/ros/rolling/setup.sh"; fi && \ dh_auto_install diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/format.em b/debian/source/format.em deleted file mode 100644 index 9666bf4..0000000 --- a/debian/source/format.em +++ /dev/null @@ -1 +0,0 @@ -3.0 (@(format)) diff --git a/debian/source/options.em b/debian/source/options similarity index 81% rename from debian/source/options.em rename to debian/source/options index 8c4c78b..8bc9182 100644 --- a/debian/source/options.em +++ b/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] +