Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate Debian package #515

Merged
merged 9 commits into from
Oct 27, 2024

Conversation

christian-rauch
Copy link
Member

@christian-rauch christian-rauch commented Sep 15, 2024

Generate a DEB package via CPack, based on the CPack DEB package of Qt Creator (https://download.qt.io/official_releases/qtcreator/14.0/14.0.1/cpack_experimental/).

Usage:

  1. Download & Install the [qtcreator-opensource-linux-x86_64-14.0.1.deb](https://download.qt.io/official_releases/qtcreator/14.0/14.0.1/cpack_experimental/qtcreator-opensource-linux-x86_64-14.0.1.deb) package manually.
  2. build the plugin:
    cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="~/Downloads/qtc-sdk/Tools/QtCreator;~/Downloads/qtc-sdk/6.6.0/gcc_64"
    cmake --build build
  3. use CPack with the DEB generator in the build folder:
    cd build
    cpack -G DEB
  4. install the resulting DEB package: sudo apt install ROSProjectManager-*-Linux-*.deb

This also generates a Debian package with debug symbols (*.ddeb) which would be very useful for debugging and backtraces for issues.

@christian-rauch
Copy link
Member Author

I will try to provide these DEB plugin archives from now on as an experimental feature.

Later, I may provide scripts to install Qt Creator and the plugin as DEB package as an alternative to the snap package, which is currently blocked by some snapcraft issues and what seems generic limitations with the classic snaps (#514).

@Levi-Armstrong Let me know if the DEB plugin archive is a valid option for you.

@Levi-Armstrong
Copy link
Member

Yea, a Debian would be great!

In the Python ecosystem, 'setup.py' is used for packaging projects. Rename
the download scripts to avoid conflicts and confusion with Python packaging
tools.
@christian-rauch christian-rauch merged commit 27eaf99 into ros-industrial:devel Oct 27, 2024
4 checks passed
@christian-rauch christian-rauch deleted the cpack_deb branch October 27, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants