Open mathias-lang-sociomantic opened 7 years ago
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
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
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.
@leandro-lucarella-sociomantic. Is this still relevant/required for compatibility with makd? AFAICS the referenced issue (https://github.com/sociomantic-tsunami/makd/pull/85) has been closed without merge.
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...
It will be needed by an upcoming MakD release: https://github.com/sociomantic-tsunami/makd/pull/85 You will probably need
dh_shlibdeps
. Feel free to reach to me IRL so we can test it together.