Version 2.030 of the Digital Mars D (DMD) compiler has been released. You can obtain it at http://ftp.digitalmars.com/dmd.2.030.zip. Please add it to the Portage tree. Reproducible: Always
Created attachment 197295 [details] Ebuild for dmd-2.031 This ebuild works for me with the latest of the DMD2. I don't think they will use this for portage. There is one important problem: DMD1 and DMD2 are not just 2 versions of the same compiler. They are two different languages. They shouldn't be slots and the same package. They should literally be separated into 2 packages. And if DMD is going to be in portage, at least it should be updated, not with prehistoric versions. Is work in progress, of course worth having in portage, but not unmaintained. I offer myself for keeping them updated, but I have experience already with this topic and things are not easy to become a "developer". So I don't think I'll be doing this for portage. I will try to keep it updated here anyway. I'm also going to make ebuilds for LDC.
(In reply to comment #1) > I offer myself for keeping them updated, but I have > experience already with this topic and things are not easy to become a > "developer". So I don't think I'll be doing this for portage. I will try to > keep it updated here anyway. Yeah, the developer application process basically requires you to hang out on IRC or the mailing lists for several months answering questions and hoping that a current developer will notice you. But at least an ebuild is available now :) > I'm also going to make ebuilds for LDC. Thanks a lot!
One thing that I forgot to mention---since DMD is not OSS, it should be installed to /opt instead of /usr.
Yes, well I changed it to /usr/bin Is easy to change, but the licenses are Boost, GPL and DMD, why it can't be there?
Because the backend is not available under an OSS-compatible license (though the source is available).
Ok. However, there is this overlay now: https://www.assembla.com/wiki/show/d-overlay It seems we are duplicating efforts, so I contacted the guy and maybe we can figure out a good way to keep up to date the D related ebuilds in Gentoo.
(In reply to comment #6) > Ok. However, there is this overlay now: > > https://www.assembla.com/wiki/show/d-overlay Oh, wow, I can't believe I missed that. It looks like he's got everything covered, even D-related tools for 3rd party applications, like Vim. The only problem I see is that for some reason, the DMD executable is named dmd2.bin. > It seems we are duplicating efforts, so I contacted the guy and maybe we can > figure out a good way to keep up to date the D related ebuilds in Gentoo. Well, for that to happen, the developers would have to get involved, and they don't seem to really care about D. But a regularly updated overlay is just as good as D being in the main Portage tree.
DMD is installed in /usr and executables are called dmd1.bin and dmd2.bin. You can use 'eselect dmd' to create a 'dmd' symlink pointing to one of them. I'll move dmd to /opt.
(In reply to comment #8) > DMD is installed in /usr and executables are called dmd1.bin and dmd2.bin. You > can use 'eselect dmd' to create a 'dmd' symlink pointing to one of them. That isn't working for me: # eselect dmd list ls: cannot access /usr/bin/dmd.dmd*: No such file or directory Available configurations: (none found)
You need to have either phobos or tango. There are three configs: dmd1-phobos, dmd1-tango and dmd2-phobos.
According to this post http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=25924 any version prior to 2.040 build of DMD seems pretty useless. Anyone's interested is getting an uptodate version of D in Gentoo ?
*** This bug has been marked as a duplicate of bug 212793 ***