From f0598129ced214932fa31995d1ac5a2aba8e4f58 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Fri, 3 Sep 2021 17:47:24 +0200 Subject: [PATCH 01/13] Enable ruby and python bindings in packaging --- ubuntu/debian/control | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ubuntu/debian/control b/ubuntu/debian/control index 74a46e8..70abd7b 100644 --- a/ubuntu/debian/control +++ b/ubuntu/debian/control @@ -9,6 +9,8 @@ Build-Depends: cmake, libeigen3-dev, libignition-cmake2-dev, python3, + python3-dev, + ruby-dev, ruby-ronn, swig Vcs-Browser: https://bitbucket.org/ignitionrobotics/ign_math-release From 1140d104dee2e4f62be19968c49d267173833674 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Fri, 3 Sep 2021 18:10:29 +0200 Subject: [PATCH 02/13] Add support for to package python and ruby --- ubuntu/debian/control | 16 ++++++++++++++++ ubuntu/debian/python3-ignition-math6.install | 1 + ubuntu/debian/ruby-ignition-math6.install | 1 + 3 files changed, 18 insertions(+) create mode 100644 ubuntu/debian/python3-ignition-math6.install create mode 100644 ubuntu/debian/ruby-ignition-math6.install diff --git a/ubuntu/debian/control b/ubuntu/debian/control index 70abd7b..3d2e281 100644 --- a/ubuntu/debian/control +++ b/ubuntu/debian/control @@ -16,6 +16,7 @@ Build-Depends: cmake, Vcs-Browser: https://bitbucket.org/ignitionrobotics/ign_math-release Vcs-Hg: https://bitbucket.org/ignitionrobotics/ign_math-release Homepage: https://bitbucket.org/ignitionrobotics/ign_math +XS-Ruby-Versions: all Package: libignition-math6 Architecture: any @@ -43,6 +44,21 @@ Depends: libignition-math6-dev (= ${binary:Version}), Multi-Arch: same Description: Ignition Robotics Math Library - Eigen3 Development files +Package: python3-ignition-math6 +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends} +Enhances: libignition-math6 +Description: Ignition Robotics Math Library - Python3 bindings + +Package: ruby-ignition-math6 +Architecture: any +XB-Ruby-Versions: ${ruby:Versions} +Depends: ${misc:Depends}, + ${ruby:Depends}, + ${shlibs:Depends} +Description: Ignition Robotics Math Library - Ruby bindings + Package: libignition-math6-dbg Architecture: any Section: debug diff --git a/ubuntu/debian/python3-ignition-math6.install b/ubuntu/debian/python3-ignition-math6.install new file mode 100644 index 0000000..d93f872 --- /dev/null +++ b/ubuntu/debian/python3-ignition-math6.install @@ -0,0 +1 @@ +usr/lib/*/python/* diff --git a/ubuntu/debian/ruby-ignition-math6.install b/ubuntu/debian/ruby-ignition-math6.install new file mode 100644 index 0000000..0078492 --- /dev/null +++ b/ubuntu/debian/ruby-ignition-math6.install @@ -0,0 +1 @@ +usr/lib/*/ruby/* From faf7d71910b95fe9c80793b954de9c1f3f1738e4 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Fri, 3 Sep 2021 18:27:09 +0200 Subject: [PATCH 03/13] Use python helpers --- ubuntu/debian/control | 1 + ubuntu/debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ubuntu/debian/control b/ubuntu/debian/control index 3d2e281..6b5a1bf 100644 --- a/ubuntu/debian/control +++ b/ubuntu/debian/control @@ -5,6 +5,7 @@ Section: science Priority: extra Build-Depends: cmake, debhelper (>= 11), + dh-python, doxygen, libeigen3-dev, libignition-cmake2-dev, diff --git a/ubuntu/debian/rules b/ubuntu/debian/rules index e62afdb..3964857 100755 --- a/ubuntu/debian/rules +++ b/ubuntu/debian/rules @@ -8,7 +8,7 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) override_dh_auto_test %: - dh $@ --parallel + dh $@ --parallel --with-python override_dh_auto_configure: dh_auto_configure -- \ From 092d0e81f61ba8e260446969dff34bfdc60df5d2 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Fri, 3 Sep 2021 18:46:26 +0200 Subject: [PATCH 04/13] Other python fixes --- ubuntu/debian/control | 1 + ubuntu/debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ubuntu/debian/control b/ubuntu/debian/control index 6b5a1bf..13ec008 100644 --- a/ubuntu/debian/control +++ b/ubuntu/debian/control @@ -18,6 +18,7 @@ Vcs-Browser: https://bitbucket.org/ignitionrobotics/ign_math-release Vcs-Hg: https://bitbucket.org/ignitionrobotics/ign_math-release Homepage: https://bitbucket.org/ignitionrobotics/ign_math XS-Ruby-Versions: all +X-Python3-Version: >= 3.X Package: libignition-math6 Architecture: any diff --git a/ubuntu/debian/rules b/ubuntu/debian/rules index 3964857..f672ae4 100755 --- a/ubuntu/debian/rules +++ b/ubuntu/debian/rules @@ -8,7 +8,7 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) override_dh_auto_test %: - dh $@ --parallel --with-python + dh $@ --parallel --with python3 override_dh_auto_configure: dh_auto_configure -- \ From c99ab35af57621f7433c99f2faa50e009e0c4628 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Fri, 3 Sep 2021 20:39:58 +0200 Subject: [PATCH 05/13] Addl long description to packages --- ubuntu/debian/control | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/ubuntu/debian/control b/ubuntu/debian/control index 13ec008..ca259da 100644 --- a/ubuntu/debian/control +++ b/ubuntu/debian/control @@ -27,6 +27,13 @@ Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: Ignition Robotics Math Library - Shared library + A small, fast, and high performance math library. This library is a + self-contained set of classes and functions suitable for robot applications. + . + Ignition Robotics is a set of simple libraries that provide useful + functionality to bootstrap robot applications. The included libraries + encapsulate all the essentials, such as common math data types, console + logging, 3D mesh management, and asynchronous message passing. Package: libignition-math6-dev Architecture: any @@ -36,6 +43,13 @@ Depends: libignition-math6 (= ${binary:Version}), ${misc:Depends} Multi-Arch: same Description: Ignition Robotics Math Library - Development files + A small, fast, and high performance math library. This library is a + self-contained set of classes and functions suitable for robot applications. + . + Ignition Robotics is a set of simple libraries that provide useful + functionality to bootstrap robot applications. The included libraries + encapsulate all the essentials, such as common math data types, console + logging, 3D mesh management, and asynchronous message passing. Package: libignition-math6-eigen3-dev Architecture: any @@ -45,6 +59,13 @@ Depends: libignition-math6-dev (= ${binary:Version}), ${misc:Depends} Multi-Arch: same Description: Ignition Robotics Math Library - Eigen3 Development files + A small, fast, and high performance math library. This library is a + self-contained set of classes and functions suitable for robot applications. + . + Ignition Robotics is a set of simple libraries that provide useful + functionality to bootstrap robot applications. The included libraries + encapsulate all the essentials, such as common math data types, console + logging, 3D mesh management, and asynchronous message passing. Package: python3-ignition-math6 Architecture: all @@ -52,6 +73,13 @@ Depends: ${misc:Depends}, ${python3:Depends} Enhances: libignition-math6 Description: Ignition Robotics Math Library - Python3 bindings + A small, fast, and high performance math library. This library is a + self-contained set of classes and functions suitable for robot applications. + . + Ignition Robotics is a set of simple libraries that provide useful + functionality to bootstrap robot applications. The included libraries + encapsulate all the essentials, such as common math data types, console + logging, 3D mesh management, and asynchronous message passing. Package: ruby-ignition-math6 Architecture: any @@ -60,6 +88,13 @@ Depends: ${misc:Depends}, ${ruby:Depends}, ${shlibs:Depends} Description: Ignition Robotics Math Library - Ruby bindings + A small, fast, and high performance math library. This library is a + self-contained set of classes and functions suitable for robot applications. + . + Ignition Robotics is a set of simple libraries that provide useful + functionality to bootstrap robot applications. The included libraries + encapsulate all the essentials, such as common math data types, console + logging, 3D mesh management, and asynchronous message passing. Package: libignition-math6-dbg Architecture: any @@ -70,3 +105,11 @@ Depends: ${misc:Depends} Multi-Arch: same Description: Ignition Robotics Math Library - Debugging symbols + A small, fast, and high performance math library. This library is a + self-contained set of classes and functions suitable for robot applications. + . + Ignition Robotics is a set of simple libraries that provide useful + functionality to bootstrap robot applications. The included libraries + encapsulate all the essentials, such as common math data types, console + logging, 3D mesh management, and asynchronous message passing. + From 67ba065e8a2dc365a684553a9e9e03a130851c83 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Fri, 3 Sep 2021 20:41:16 +0200 Subject: [PATCH 06/13] Work with 3.2 version --- ubuntu/debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/debian/control b/ubuntu/debian/control index ca259da..0118930 100644 --- a/ubuntu/debian/control +++ b/ubuntu/debian/control @@ -18,7 +18,7 @@ Vcs-Browser: https://bitbucket.org/ignitionrobotics/ign_math-release Vcs-Hg: https://bitbucket.org/ignitionrobotics/ign_math-release Homepage: https://bitbucket.org/ignitionrobotics/ign_math XS-Ruby-Versions: all -X-Python3-Version: >= 3.X +X-Python3-Version: >= 3.2 Package: libignition-math6 Architecture: any From 41b714eb7aeae036d91cc90bc6a0e504a38fbb3c Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Fri, 3 Sep 2021 21:42:00 +0200 Subject: [PATCH 07/13] Missing files --- bionic/debian/python3-ignition-math6.install | 1 + bionic/debian/ruby-ignition-math6.install | 1 + .../debian/python3-ignition-math6.install | 1 + .../buster/debian/ruby-ignition-math6.install | 1 + debian/sid/debian/changelog | 59 ------------------- debian/sid/debian/compat | 1 - debian/sid/debian/control | 1 - debian/sid/debian/copyright | 1 - debian/sid/debian/docs | 1 - .../sid/debian/libignition-math6-dev.install | 1 - .../libignition-math6-eigen3-dev.install | 1 - debian/sid/debian/libignition-math6.install | 1 - debian/sid/debian/patches | 1 - debian/sid/debian/rules | 1 - debian/sid/debian/source | 1 - debian/sid/debian/watch | 1 - focal/debian/python3-ignition-math6.install | 1 + focal/debian/ruby-ignition-math6.install | 1 + ....install => python3-ignition-math.install} | 0 ...th6.install => ruby-ignition-math.install} | 0 20 files changed, 6 insertions(+), 70 deletions(-) create mode 120000 bionic/debian/python3-ignition-math6.install create mode 120000 bionic/debian/ruby-ignition-math6.install create mode 120000 debian/buster/debian/python3-ignition-math6.install create mode 120000 debian/buster/debian/ruby-ignition-math6.install delete mode 100644 debian/sid/debian/changelog delete mode 120000 debian/sid/debian/compat delete mode 120000 debian/sid/debian/control delete mode 120000 debian/sid/debian/copyright delete mode 120000 debian/sid/debian/docs delete mode 120000 debian/sid/debian/libignition-math6-dev.install delete mode 120000 debian/sid/debian/libignition-math6-eigen3-dev.install delete mode 120000 debian/sid/debian/libignition-math6.install delete mode 120000 debian/sid/debian/patches delete mode 120000 debian/sid/debian/rules delete mode 120000 debian/sid/debian/source delete mode 120000 debian/sid/debian/watch create mode 120000 focal/debian/python3-ignition-math6.install create mode 120000 focal/debian/ruby-ignition-math6.install rename ubuntu/debian/{python3-ignition-math6.install => python3-ignition-math.install} (100%) rename ubuntu/debian/{ruby-ignition-math6.install => ruby-ignition-math.install} (100%) diff --git a/bionic/debian/python3-ignition-math6.install b/bionic/debian/python3-ignition-math6.install new file mode 120000 index 0000000..a8d1a66 --- /dev/null +++ b/bionic/debian/python3-ignition-math6.install @@ -0,0 +1 @@ +../../ubuntu/debian/python3-ignition-math.install \ No newline at end of file diff --git a/bionic/debian/ruby-ignition-math6.install b/bionic/debian/ruby-ignition-math6.install new file mode 120000 index 0000000..072fd8d --- /dev/null +++ b/bionic/debian/ruby-ignition-math6.install @@ -0,0 +1 @@ +../../ubuntu/debian/ruby-ignition-math.install \ No newline at end of file diff --git a/debian/buster/debian/python3-ignition-math6.install b/debian/buster/debian/python3-ignition-math6.install new file mode 120000 index 0000000..c021bd0 --- /dev/null +++ b/debian/buster/debian/python3-ignition-math6.install @@ -0,0 +1 @@ +../../../ubuntu/debian/python3-ignition-math.install \ No newline at end of file diff --git a/debian/buster/debian/ruby-ignition-math6.install b/debian/buster/debian/ruby-ignition-math6.install new file mode 120000 index 0000000..201883e --- /dev/null +++ b/debian/buster/debian/ruby-ignition-math6.install @@ -0,0 +1 @@ +../../../ubuntu/debian/ruby-ignition-math.install \ No newline at end of file diff --git a/debian/sid/debian/changelog b/debian/sid/debian/changelog deleted file mode 100644 index 83c8f40..0000000 --- a/debian/sid/debian/changelog +++ /dev/null @@ -1,59 +0,0 @@ -ignition-math6 (6.8.0-1~sid) sid; urgency=medium - - * ignition-math6 6.8.0-1 release - - -- Louise Poubel Tue, 30 Mar 2021 17:13:46 -0700 - -ignition-math6 (6.8.0~pre3-1~sid) sid; urgency=medium - - * ignition-math6 6.8.0~pre3-1 release - - -- Louise Poubel Mon, 22 Mar 2021 13:40:21 -0700 - -ignition-math6 (6.8.0~pre2-1~sid) sid; urgency=medium - - * ignition-math6 6.8.0~pre2-1 release - - -- Addizu Z. Taddese Tue, 26 Jan 2021 17:57:19 -0600 - -ignition-math6 (6.8.0~pre1-1~sid) sid; urgency=medium - - * ignition-math6 6.8.0~pre1-1 release - - -- Stephen Brawner Fri, 18 Dec 2020 14:48:01 -0800 - -ignition-math6 (6.7.0-1~sid) sid; urgency=medium - - * ignition-math6 6.7.0-1 release - - -- Steve Peters Mon, 23 Nov 2020 16:44:28 -0800 - -ignition-math6 (6.6.0-1~sid) sid; urgency=medium - - * ignition-math6 6.6.0-1 release - - -- Louise Poubel Thu, 17 Sep 2020 11:15:18 -0700 - -ignition-math6 (6.6.0~pre1-1~sid) sid; urgency=medium - - * ignition-math6 6.6.0~pre1-1 release - - -- Louise Poubel Wed, 16 Sep 2020 12:47:02 -0700 - -ignition-math6 (6.5.0-2~sid) sid; urgency=medium - - * ignition-math6 6.5.0-2 release - - -- Louise Poubel Tue, 08 Sep 2020 15:33:38 -0700 - -ignition-math6 (6.5.0-1~sid) sid; urgency=medium - - * ignition-math6 6.5.0-1 release - - -- Louise Poubel Fri, 04 Sep 2020 20:13:37 -0700 - -ignition-math6 (6.4.0-1~sid) sid; urgency=medium - - * ignition-math6 6.4.0-1 release - - -- Nate Koenig Mon, 15 Jul 2019 16:29:42 -0700 diff --git a/debian/sid/debian/compat b/debian/sid/debian/compat deleted file mode 120000 index ad30260..0000000 --- a/debian/sid/debian/compat +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/compat \ No newline at end of file diff --git a/debian/sid/debian/control b/debian/sid/debian/control deleted file mode 120000 index 4f862d3..0000000 --- a/debian/sid/debian/control +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/control \ No newline at end of file diff --git a/debian/sid/debian/copyright b/debian/sid/debian/copyright deleted file mode 120000 index 61b9831..0000000 --- a/debian/sid/debian/copyright +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/copyright \ No newline at end of file diff --git a/debian/sid/debian/docs b/debian/sid/debian/docs deleted file mode 120000 index f64cbf6..0000000 --- a/debian/sid/debian/docs +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/docs \ No newline at end of file diff --git a/debian/sid/debian/libignition-math6-dev.install b/debian/sid/debian/libignition-math6-dev.install deleted file mode 120000 index 34e9082..0000000 --- a/debian/sid/debian/libignition-math6-dev.install +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/libignition-math-dev.install \ No newline at end of file diff --git a/debian/sid/debian/libignition-math6-eigen3-dev.install b/debian/sid/debian/libignition-math6-eigen3-dev.install deleted file mode 120000 index e56338d..0000000 --- a/debian/sid/debian/libignition-math6-eigen3-dev.install +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/libignition-math-eigen3-dev.install \ No newline at end of file diff --git a/debian/sid/debian/libignition-math6.install b/debian/sid/debian/libignition-math6.install deleted file mode 120000 index 63e53c3..0000000 --- a/debian/sid/debian/libignition-math6.install +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/libignition-math.install \ No newline at end of file diff --git a/debian/sid/debian/patches b/debian/sid/debian/patches deleted file mode 120000 index 5bb7bd7..0000000 --- a/debian/sid/debian/patches +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/patches/ \ No newline at end of file diff --git a/debian/sid/debian/rules b/debian/sid/debian/rules deleted file mode 120000 index 1ab459a..0000000 --- a/debian/sid/debian/rules +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/rules \ No newline at end of file diff --git a/debian/sid/debian/source b/debian/sid/debian/source deleted file mode 120000 index 7a61075..0000000 --- a/debian/sid/debian/source +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/source \ No newline at end of file diff --git a/debian/sid/debian/watch b/debian/sid/debian/watch deleted file mode 120000 index 8788318..0000000 --- a/debian/sid/debian/watch +++ /dev/null @@ -1 +0,0 @@ -../../../ubuntu/debian/watch \ No newline at end of file diff --git a/focal/debian/python3-ignition-math6.install b/focal/debian/python3-ignition-math6.install new file mode 120000 index 0000000..a8d1a66 --- /dev/null +++ b/focal/debian/python3-ignition-math6.install @@ -0,0 +1 @@ +../../ubuntu/debian/python3-ignition-math.install \ No newline at end of file diff --git a/focal/debian/ruby-ignition-math6.install b/focal/debian/ruby-ignition-math6.install new file mode 120000 index 0000000..072fd8d --- /dev/null +++ b/focal/debian/ruby-ignition-math6.install @@ -0,0 +1 @@ +../../ubuntu/debian/ruby-ignition-math.install \ No newline at end of file diff --git a/ubuntu/debian/python3-ignition-math6.install b/ubuntu/debian/python3-ignition-math.install similarity index 100% rename from ubuntu/debian/python3-ignition-math6.install rename to ubuntu/debian/python3-ignition-math.install diff --git a/ubuntu/debian/ruby-ignition-math6.install b/ubuntu/debian/ruby-ignition-math.install similarity index 100% rename from ubuntu/debian/ruby-ignition-math6.install rename to ubuntu/debian/ruby-ignition-math.install From 1cc0d22c41e82fdaed9203c70002640f5cc661ee Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Sat, 4 Sep 2021 00:38:45 +0200 Subject: [PATCH 08/13] Include PYBUILD_NAME --- ubuntu/debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ubuntu/debian/rules b/ubuntu/debian/rules index f672ae4..9ee1500 100755 --- a/ubuntu/debian/rules +++ b/ubuntu/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +export PYBUILD_NAME=ignition-math6 + DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) .PHONY: override_dh_auto_configure \ From f129a562b29143d5aadd355203c1194d2e3ddd82 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Tue, 7 Sep 2021 12:13:37 +0200 Subject: [PATCH 09/13] Use dist-packages for python --- ubuntu/debian/python3-ignition-math.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/debian/python3-ignition-math.install b/ubuntu/debian/python3-ignition-math.install index d93f872..3272cd6 100644 --- a/ubuntu/debian/python3-ignition-math.install +++ b/ubuntu/debian/python3-ignition-math.install @@ -1 +1 @@ -usr/lib/*/python/* +usr/lib/python3/dist-packages/* From b6fe5423f955207f2fa653c79c112b3ff0f83640 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Tue, 7 Sep 2021 12:49:39 +0200 Subject: [PATCH 10/13] Use custom options to install python in system directories --- ubuntu/debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ubuntu/debian/rules b/ubuntu/debian/rules index 9ee1500..6517d31 100755 --- a/ubuntu/debian/rules +++ b/ubuntu/debian/rules @@ -14,7 +14,9 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) override_dh_auto_configure: dh_auto_configure -- \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DUSE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION=ON \ + -DUSE_DIST_PACKAGES_FOR_PYTHON=ON override_dh_strip: dh_strip -a --dbg-package=libignition-math6-dbg From fbd0584298ff8fd877706f84fba9f35bfba36e14 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Tue, 7 Sep 2021 13:41:01 +0200 Subject: [PATCH 11/13] Need to include _math.so lib. Arch dependent --- ubuntu/debian/control | 2 +- ubuntu/debian/python3-ignition-math.install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ubuntu/debian/control b/ubuntu/debian/control index 0118930..1bc36c4 100644 --- a/ubuntu/debian/control +++ b/ubuntu/debian/control @@ -68,7 +68,7 @@ Description: Ignition Robotics Math Library - Eigen3 Development files logging, 3D mesh management, and asynchronous message passing. Package: python3-ignition-math6 -Architecture: all +Architecture: any Depends: ${misc:Depends}, ${python3:Depends} Enhances: libignition-math6 diff --git a/ubuntu/debian/python3-ignition-math.install b/ubuntu/debian/python3-ignition-math.install index 3272cd6..0372215 100644 --- a/ubuntu/debian/python3-ignition-math.install +++ b/ubuntu/debian/python3-ignition-math.install @@ -1 +1,2 @@ usr/lib/python3/dist-packages/* +usr/lib/*/python/* From b2d448f8b658e6522edb9b35e9a3b1418c1ba202 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Tue, 7 Sep 2021 18:48:49 +0200 Subject: [PATCH 12/13] Same path for .py and .so --- ubuntu/debian/python3-ignition-math.install | 1 - 1 file changed, 1 deletion(-) diff --git a/ubuntu/debian/python3-ignition-math.install b/ubuntu/debian/python3-ignition-math.install index 0372215..3272cd6 100644 --- a/ubuntu/debian/python3-ignition-math.install +++ b/ubuntu/debian/python3-ignition-math.install @@ -1,2 +1 @@ usr/lib/python3/dist-packages/* -usr/lib/*/python/* From 86021d8a36dbf0f932c7d236759545d007cf4b73 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Tue, 7 Sep 2021 22:57:40 +0200 Subject: [PATCH 13/13] Add ruby system setting --- ubuntu/debian/ruby-ignition-math.install | 2 +- ubuntu/debian/rules | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ubuntu/debian/ruby-ignition-math.install b/ubuntu/debian/ruby-ignition-math.install index 0078492..10bd1ad 100644 --- a/ubuntu/debian/ruby-ignition-math.install +++ b/ubuntu/debian/ruby-ignition-math.install @@ -1 +1 @@ -usr/lib/*/ruby/* +/usr/lib/ruby/* diff --git a/ubuntu/debian/rules b/ubuntu/debian/rules index 6517d31..c109d90 100755 --- a/ubuntu/debian/rules +++ b/ubuntu/debian/rules @@ -16,7 +16,8 @@ override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DUSE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION=ON \ - -DUSE_DIST_PACKAGES_FOR_PYTHON=ON + -DUSE_DIST_PACKAGES_FOR_PYTHON=ON \ + -DUSE_SYSTEM_PATHS_FOR_RUBY_INSTALLATION=ON override_dh_strip: dh_strip -a --dbg-package=libignition-math6-dbg