-
Notifications
You must be signed in to change notification settings - Fork 9
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
Proposal: use metapackage for jderobot-deps & jderobot-devs #4
Comments
prototype for issue JdeRobot#4 names and naming convections should change
Update (dpkg-shlibdeps)I noticed a little fail in my proposal, CPack does it better, so jderobot-deps begans to be we stupid. ReasonAt now, dpkg-shlibdeps list all required dependencies and format it in a apt-get way (pretty well). But also enforces minimal compatible version. Doing it externally will let required version incomplete (letting it to apt-get criteria). Implications
Further implications (guess it)
|
ExampleIf you are in Linux, please, download my branch and run
Finally, test it with:
Dry run test! do not be worried http://superuser.com/questions/196864/how-to-install-local-deb-packages-with-apt-get |
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
mkdir -p pkg_name/DEBIAN/
edit pkg_name/DEBIAN/control
dpkg --build pkg_name
Pros and cons
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).
The text was updated successfully, but these errors were encountered: