[L2Ork-dev] Linux compile-time dependencies

IOhannes m zmölnig zmoelnig at iem.at
Tue Feb 13 14:37:41 EST 2018


On 12/18/2017 06:26 PM, Albert Graef wrote:
> dpkg-shlibdeps handles this in the Debian package building system. But all
> you can do automatically is check for linkage against shared libs and then
> determine the packages that provide them, which is exactly what
> dpkg-shlibdeps does.

note that due to the weirdo file-extension Pd uses (.pd_linux for
binaries), this used to not be fully automatic.

the good news is that if the (Debian) packaging uses dh (debhelper) -
one of the most prominent packaging helpers - it *will* automatically
handle this.
the bad news is that this requires dh>=11, which is only available since
Debian/buster resp Ubuntu/bionic.

the old-fashioned way would be to run dpkg-shlibdeps manually on all the
.pd_linux files; see [1]


> There may be other things a package depends on
> (scripts and executables, etc.) and it would amount to solving the infamous

indeed.
however, i'd estimate that the binary dependencies make >80% of the
total work and while it is rather hard for humans it can be 100% automated.

in any case, packaging is real work (that's why there are quite a number
of people in the Debian project that actually do that work).


gsadnmr
IOhannes




[1] https://codesearch.debian.net/search?q=path%3Adebian%2Frules+pd_linux

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20180213/9a19df99/attachment.sig>


More information about the L2Ork-dev mailing list