dub and debian packaging
ikod via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 26 07:58:52 PST 2016
On Tuesday, 26 January 2016 at 11:06:40 UTC, Bastiaan Veelo wrote:
> On Monday, 25 January 2016 at 23:46:09 UTC, Paul O'Neil wrote:
>> On 01/25/2016 12:08 PM, ikod wrote:
>>> [...]
>>
>> I think there's a longer discussion one one of the dub issues
>> that explains why this doesn't exist yet. The blocker is that
>> the D ABI is not compatible across compilers (dmd vs. ldc vs.
>> gdc) or compiler versions (2.068 vs. 2.069). Until there's a
>> reasonable resolution to that problem, I don't think there
>> will be OS packages of libraries.
>
> Note that the OP is essentially talking about source
> distribution for use in rdmd scripts. So ABI is not an issue.
> This source could be installed as a Debian package, but since
> dub exists, the question is whether to use dub or not. If not,
> there'll be two parallel ways to install source. In any case,
> files should be written to system directories and it should be
> possible to uninstall.
Yes, exactly. As mentioned before, binaries in D are mostly
statically linked, and for statically linked binaries there is no
problem with dependencies. When this change, then binary
distribution will also requre packaged dependencies.
>
> The question originates from here:
> https://github.com/PhilippeSigaud/Pegged/issues/171
More information about the Digitalmars-d
mailing list