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

Provide shlibs informations in the debian package #246

Open
mathias-lang-sociomantic opened this issue Oct 19, 2017 · 5 comments
Open

Provide shlibs informations in the debian package #246

mathias-lang-sociomantic opened this issue Oct 19, 2017 · 5 comments

Comments

@mathias-lang-sociomantic
Copy link
Contributor

It will be needed by an upcoming MakD release: sociomantic-tsunami/makd#85
You will probably need dh_shlibdeps. Feel free to reach to me IRL so we can test it together.

@andreas-bok-sociomantic
Copy link
Contributor

So for the ship part the fpm flag --deb-shlibs, https://github.com/jordansissel/fpm/wiki should be used?

--deb-shlibs SHLIBS    (deb only) Include control/shlibs content. This flag 
                       expects a string that is used as the contents of the 
                       shlibs file. See the following url for a description of 
                       this file and its format: 
http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-shlibs

But it is not clear to me how the shlibs information is to be generated without getting into all the debian packaging magic, https://www.debian.org/doc/manuals/maint-guide/dreq.en.html

@andreas-bok-sociomantic
Copy link
Contributor

I assume we need to pass an argument to --deb-shlibs akin to this,
https://github.com/dimensio/libpng16-deb/blob/429f5e896614543471a523d88ee262a43fab233e/Makefile#L44

@leandro-lucarella-sociomantic is the debhelper tools (dh_shlibdeps) required to get the value to pass or does the value only relate to the version of the library, which we anyway extract in the fpm build script

@leandro-lucarella-sociomantic
Copy link
Contributor

To be honest this shlibs thing is good to me, so I would have to go through all the docs myself before being able to answer any questions. Let me know if you still need my help.

@bokchan
Copy link
Collaborator

bokchan commented Feb 14, 2019

@leandro-lucarella-sociomantic. Is this still relevant/required for compatibility with makd?
AFAICS the referenced issue (sociomantic-tsunami/makd#85) has been closed without merge.

@leandro-lucarella-sociomantic
Copy link
Contributor

I think we can just assume fpm packaging is pretty basic and the packages provided here are not complete/good. Ideally the Debian tools should be used to create the packages, but for now I don't think it makes sense to spend time on this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants