Proposal: use metapackage for jderobot-deps & jderobot-devs

Open
#4 2 comments 0 reactions 1 assignee View on GitHub

@fqez is already working on this.

Since Oct 30, 2015.

Assessment

This issue has not been assessed yet.

Description

enhancement

Proposal: use metapackage for jderobot-deps & jderobot-devs

Using described steps at http://jeffhoogland.blogspot.com.es/2011/08/howto-create-debian-meta-package.html, we can generate a metapackage with no code, so it targets to all architectures.
Therefore, make steps are no longer required.

What it implies?

jderobot - Jderobot .deb as always (the only one with code)
jderobot-deps - binary dependencies of Jderobot
jderobot-deps-dev - headers of libraries

Looping the loop

jderobot-dev-tools - for cmake, git, build-essential, pkg-config
jderobot-all - includes all above

How it works

  1. Just create a "fake" hierarchy
    mkdir -p pkg_name/DEBIAN/
  2. Fill it with .deb info (apt-cache show | dpkg --info)
    edit pkg_name/DEBIAN/control
  3. Build (create) package
    dpkg --build pkg_name

Pros and cons

  • It is decoupled to jderobot code
    • (pro) jderobot forget requirements for cpack
    • (cons) metapackage can become deprecated (out-of-sync)
  • No more embedded into cpack
  • Requires explicit command line execution

Remember

Use Architecture: all, so it works for any target ;)

Since these metapackages are fake ones, and gather all required dependencies, push it here could be a good idea. (It's only text, so have it in git will increase commodity and clarity).

Dominant language
C++
Stars
11
Forks
9
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JdeRobot/ThirdParty

All issues in JdeRobot/ThirdParty

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.