<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 26 January 2016 at 17:34, H. S. Teoh via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Jan 26, 2016 at 03:07:25PM +0000, Martin Tschierschke via Digitalmars-d wrote:<br>
[...]<br>
<span class="">> I think probably the best would be if "sudo apt-get install dmd/dub",<br>
> out of the box would deliver, without the need to use an external<br>
> repository which, is not included as default in Debian/Ubuntu.<br>
><br>
> Does anybody know how to form a "petition" for getting the always<br>
> latest stable releases of D included in Debian (=>Ubuntu)?<br>
</span>[...]<br>
<br>
Unfortunately dmd will never be part of Debian's main repository,<br>
because the backend has an incompatible license.<br>
<br>
However, gdc, a gcc-based D compiler that uses the same frontend as dmd,<br>
is already in Debian, and probably has propagated to Ubuntu by now<br>
(apt-get install gdc). I regularly use gdc when I need the best<br>
performance (the gcc backend has superior optimizing capabilities<br>
compared to dmd). The only disadvantage is that it's a release or two<br>
behind dmd, due to the mismatch between the gcc release schedule and the<br>
dmd release schedule, so it will be a slightly older version of D. For<br>
the most part, that shouldn't be a problem, unless you absolutely need<br>
to use the latest and greatest features.<br>
<br>
As for including dub in Debian, somebody just has to do the packaging,<br>
and we could file an ITA and upload the package to Debian.<br>
<span class="HOEnZb"></span></blockquote><div><br></div><div><br>Both myself and the GCC maintainers are keen on this.  We have a D compiler, but only a handful of (obsolete) software that uses it.<br><br></div><div>I have source packages for dub, dustmite, digger and dscanner.  I probably need a couple of things to do with them first.<br><br></div><div>1. Confirm licensing with authors (Debian policy requires that all sources and documentation distributed are covered by a license IIRC).<br></div><div>2. Peer review<br></div><div>3. Submit to Debian/Ubuntu.<br></div><div><br></div></div></div></div>