How hard would it be to create a dub2deb tool?

Andre Pany andre at s-e-a-p.de
Thu Feb 18 16:24:14 UTC 2021


On Wednesday, 17 February 2021 at 17:14:35 UTC, deadalnix wrote:
> For reference, this is what I'm referring to: 
> https://github.com/LeoIannacone/npm2deb
>
> I don't think that would be too hard, but, at the same time, 
> I'm not super familiar with the dub ecosystem to be honest so 
> maybe there is something I'm overlooking.
>
> I think such a tool would be super valuable as it would 
> increase options to access d libs. This seems to be a low 
> hanging fruit.

My gut feeling is, the real problem we have to solve here is to 
provide something similar like python wheels [1].
Many python packages like e.g. pyarrow are wrappers for C 
libraries. The python wheel has pre build (shared objects) for 
various operation systems. Python package manager decides based 
on the host OS which python wheel to download.
No need to install additional system packages via apt-get and 
getting mad while solving build issues.

If we could add s.th. similar to the dub infrastructure (registry 
and client), this would remove a lot work and headaches for dub 
package users.

[1] https://realpython.com/python-wheels/

Kind regards
Andre



More information about the Digitalmars-d mailing list