Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269619 - dev-lang/dmd-bin-2.030 version bump
Summary: dev-lang/dmd-bin-2.030 version bump
Status: RESOLVED DUPLICATE of bug 212793
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL: http://digitalmars.com/d/2.0/changelo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-12 19:55 UTC by srunni
Modified: 2013-02-04 12:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for dmd-2.031 (dmd-bin-2.031.ebuild,3.93 KB, text/plain)
2009-07-09 10:33 UTC, Álvaro Castro Castilla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description srunni 2009-05-12 19:55:39 UTC
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
Comment 1 Álvaro Castro Castilla 2009-07-09 10:33:44 UTC
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.
Comment 2 srunni 2009-07-09 13:19:03 UTC
(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!
Comment 3 srunni 2009-07-09 16:49:58 UTC
One thing that I forgot to mention---since DMD is not OSS, it should be installed to /opt instead of /usr.
Comment 4 Álvaro Castro Castilla 2009-07-09 17:47:34 UTC
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?
Comment 5 srunni 2009-07-09 17:50:58 UTC
Because the backend is not available under an OSS-compatible license (though the source is available).
Comment 6 Álvaro Castro Castilla 2009-07-09 17:59:14 UTC
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.
Comment 7 srunni 2009-07-09 18:20:41 UTC
(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.
Comment 8 Alexander Suhoverhov 2009-07-12 09:41:26 UTC
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.
Comment 9 srunni 2009-07-12 13:06:22 UTC
(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)
Comment 10 Alexander Suhoverhov 2009-07-12 21:16:25 UTC
You need to have either phobos or tango. There are three configs: dmd1-phobos, dmd1-tango and dmd2-phobos.
Comment 11 Guillaume Chatelet 2010-10-30 14:43:58 UTC
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 ?
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-04 12:34:35 UTC

*** This bug has been marked as a duplicate of bug 212793 ***