First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 46806
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Maintainers for Miscelleneous Language Packages <lang-misc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stephan Wienczny <wienczny@web.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dmd-0.8.1.ebuild dmd-0.8.1.ebuild (New Package) text/plain Stephan Wienczny 2004-04-04 16:46 0000 855 bytes Details
dmd-0.8.8.ebuild dmd-0.8.8 text/plain Stephan Wienczny 2004-05-15 06:22 0000 855 bytes Details
dmd-0.106.ebuild dev-lang/dmd-0.106.ebuild text/plain Marti Raudsepp 2004-11-27 11:02 0000 838 bytes Details
dmd-0.113.ebuild dev-lang/dmd/dmd-0.113.ebuild text/plain Anders F Björklund 2005-02-22 14:25 0000 906 bytes Details
DMD DMD text/plain Anders F Björklund 2005-02-22 14:26 0000 2.49 KB Details
dmd-0.114.ebuild dev-lang/dmd/dmd-0.114.ebuild text/plain Anders F Björklund 2005-02-28 08:44 0000 1001 bytes Details
dmd-0.121.ebuild dev-lang/dmd/dmd-0.121.ebuild text/plain Anders F Björklund 2005-04-17 03:09 0000 1006 bytes Details
dmd-0.151.ebuild Ebuild for DMD-0.151 on AMD64 supporting SLOTs text/plain Thomas Kühne 2006-04-04 07:07 0000 1.72 KB Details
dmd-0.169.ebuild Ebuild for DMD-0.169 on AMD64 and X86 using SLOTs text/plain Thomas Kühne 2006-10-14 04:35 0000 1.92 KB Details
dmd-0.173.ebuild Ebuild for DMD-0.173 on AMD64 and X86 using SLOTs text/plain Thomas Kühne 2006-11-03 23:41 0000 1.97 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 46806 depends on: Show dependency tree
Bug 46806 blocks: 80435 80437 80438 118209
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-04 16:44 0000
Hi!

I've written an ebuild that installes the DigitalMars D compiler - dmd
D is a new language designed by Walter Bright that is yet another successor of C
The D comunity is growing so maybe you will like it.

I would suggest dev-lang/dmd

CU

------- Comment #1 From Stephan Wienczny 2004-04-04 16:46:42 0000 -------
Created an attachment (id=28708) [edit]
dmd-0.8.1.ebuild (New Package)

------- Comment #2 From Daniel Milne 2004-04-20 00:19:27 0000 -------
I was just going to request somebody did this. Any word on the GCC frontend?

------- Comment #3 From Stephan Wienczny 2004-05-15 06:22:22 0000 -------
Created an attachment (id=31475) [edit]
Latest version of dmd

------- Comment #4 From Radek Podgorny 2004-10-09 11:36:28 0000 -------
This ebuild works just fine. Please add to portage...

Thanks...

------- Comment #5 From trejkaz@trypticon.org 2004-10-09 20:12:57 0000 -------
It still needs some fixes, obviously.

I have version 0.100 here, which would seem much more recent than 0.8.x.  So the numbering scheme needs fixing first... I think that "0.8.8" should have been "0.88".

But the real problem is this: the version you have just installed is probably not the same as the ebuild version.  And related to this: you can't create a digest for their download.  I doubt an ebuild without a working digest would be allowed into portage.

------- Comment #6 From Radek Podgorny 2004-10-10 02:51:36 0000 -------
I've already emailed the authors about the versioning... Let's see what
happens...

------- Comment #7 From Siarhei Siamashka 2004-10-30 01:19:59 0000 -------
Well, looks the authors started adding version numbers to zip files:
http://www.digitalmars.com/d/changelog.html

At least the latest version of DMD at the moment has version number in it:
ftp://ftp.digitalmars.com/dmd.105.zip

------- Comment #8 From Radek Podgorny 2004-11-01 16:29:51 0000 -------
Can you please add this to portage?

------- Comment #9 From Radek Podgorny 2004-11-13 06:17:17 0000 -------
Version 0.106 is out... Anyone watching this?

------- Comment #10 From Marti Raudsepp 2004-11-27 11:02:39 0000 -------
Created an attachment (id=44838) [edit]
dev-lang/dmd-0.106.ebuild

New ebuild compatible with DMD version 0.106

------- Comment #11 From Marti Raudsepp 2004-11-27 11:06:59 0000 -------
The new ebuild should be ready for inclusion in the Portage tree. Newer
versions should only take a version bump. The ebuild works with (at least) the
newest version of Portage.

------- Comment #12 From Anders F Björklund 2005-02-22 14:25:27 0000 -------
Created an attachment (id=51903) [edit]
dev-lang/dmd/dmd-0.113.ebuild

Fixes the license:
> LICENSE="DMD"
> RESTRICT="nomirror"

------- Comment #13 From Anders F Björklund 2005-02-22 14:26:58 0000 -------
Created an attachment (id=51904) [edit]
DMD

This is the license.txt for DMD
(for /usr/portage/licenses/DMD)

------- Comment #14 From Anders F Björklund 2005-02-25 11:54:06 0000 -------
Since this (DMD) is a binary-only package,
does this mean it should be under /opt ?

------- Comment #15 From Anders F Björklund 2005-02-28 08:44:21 0000 -------
Created an attachment (id=52307) [edit]
dev-lang/dmd/dmd-0.114.ebuild

New release version, added manpages

------- Comment #16 From Anders F Björklund 2005-02-28 08:46:23 0000 -------
I'm ignoring Comment 14 for now and just leaving it in /usr...

------- Comment #17 From Stephan Wienczny 2005-02-28 09:06:12 0000 -------
About Comment #14. It should go into /opt if there is no "hardwired" problem.
It has been some time since I last tried it. Maybe I'll look at it again

------- Comment #18 From Anders F Björklund 2005-02-28 09:55:40 0000 -------
The only "hardwiring" is /usr/lib/phobos,
which can be changed in the ebuild if needed.
(leaving in the default location is easier...)

And of course there needs to be entries in
PATH and DFLAGS/dmd.conf if not using the
default /usr/bin and /usr/lib directories -
I believe this would go in /etc/env.d/dmd ?

See http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler

------- Comment #19 From Florian RIVOAL 2005-02-28 10:28:41 0000 -------
Works nice with me. gald I found this ebuild. I belive this belongs to /opt, if
possible. Appart from that, I think this should go into portage soon, under
~x86. As far as I am conserned, it can go into portage as is, and move to /opt
in future release (like a 0.114-r1)

------- Comment #20 From Marti Raudsepp 2005-02-28 11:19:16 0000 -------
DMD should definitely not go into the /opt directory for several reasons:
1. It would be disturbing to set your PATH (and MANPATH) environment variables if you want to be able to use the DMD compiler (or man pages) from the command-line (at least until we have a dmd-config script which is definitely not necessary at the moment)

2. DMD fits rather nicely into the filesystem tree.
All the files are where the user would expect them to be in case of a package installation.
It currently creates 8 files and 2 directories (assuming a normal setup), which doesn't really interfere with anything else:
/etc/dmd.conf
/usr/bin/dmd
/usr/bin/dumpobj
/usr/bin/obj2asm
/usr/lib/libphobos.a
/usr/share/man/man1/dmd.1.gz
/usr/share/man/man1/dumpobj.1.gz
/usr/share/man/man1/obj2asm.1.gz
---
/usr/lib/phobos
/usr/share/doc/dmd-0.114

------- Comment #21 From trejkaz@trypticon.org 2005-02-28 13:04:55 0000 -------
> 1. It would be disturbing to set your PATH (and MANPATH) environment
> variables if you want to be able to use the DMD compiler (or man pages) from
> the command-line (at least until we have a dmd-config script which is
> definitely not necessary at the moment)

Java is in /opt, and I don't need to set my PATH before using the Java compiler.  I don't think you'd need dmd-config either, just an entry in /etc/env.d.

------- Comment #22 From Marti Raudsepp 2005-02-28 13:09:23 0000 -------
Trejkaz Xaoza wrote:
> Java is in /opt, and I don't need to set my PATH before using the Java
> compiler.  I don't think you'd need dmd-config either, just an entry i
> /etc/env.d.

Sorry, you're right about that, I didn't think about env.d. I still prefer the current layout though.

------- Comment #23 From Florian RIVOAL 2005-02-28 21:37:49 0000 -------
dmd 0.115 is out. Just copy dmd-0.114.ebuild to dmd-0.115.ebuild should do the
trick.

------- Comment #24 From Florian RIVOAL 2005-03-10 02:23:08 0000 -------
dmd 0.116 is out. as before, copy and rename the previous ebuild, and
everything is going to be fine.

This makes me think that this ebuild is pretty stable, and working well. why
doesn't it go into portage?

------- Comment #25 From Marti Raudsepp 2005-03-20 11:44:15 0000 -------
(cd dmd/src/phobos; find -name '*.d' | grep -v internal | xargs tar c) | \
(cd "${D}/usr/lib/phobos"; tar xo)

Do we really need this kind of ugliness in the ebuild just to filter out the internal/ directory and .c/.cpp/.h files? It doesn't save us a lot of space and 'grep -v internal' might potentially conflict with future module names.
'grep -v ^internal/' would solve this problem, but I would prefer something more obvious instead of the code above.

------- Comment #26 From Anders F Björklund 2005-03-30 23:32:40 0000 -------
About Comment 25:
Such ugliness would *not* be needed if
upstream just provided a "make install"...

------- Comment #27 From Anders F Björklund 2005-04-17 03:09:12 0000 -------
Created an attachment (id=56499) [edit]
dev-lang/dmd/dmd-0.121.ebuild

Updated to version 0.121, added the "internal" files back in.

Source files, Makefiles, and unittest are still NOT included.
(thus, regarding Comment 25, the workaround is still needed)

I'm ignoring Comment 14, and leaving the DMD install in /usr...
It matches the manual installation, and the RPM package too.

Since this package is a binary, it is for Pentium only (X86).
Phobos (and DMD) does not yet support the X86_64 arch, either.

Don't forget to add the DMD license to /usr/portage/licenses
(See the attachment to Comment 13, for the DMD license text)

digest-dmd-0.121:
MD5 281c3a9679641e46710496e3f2acbb8a dmd.121.zip 3202057

------- Comment #28 From Florian Rivoal 2006-01-13 04:06:03 0000 -------
As far as I am conserned, all versions of dmd since this ebuild has be
introduced (0.121) up to the current 0.143 have been working fine just by
renaming this ebuild to match the verion. isn't it time this went into portage?

Just for the sake of the compiler, it would be nice to have it, but there are
also other programs (admitedly not many, but still some) depending on it too,
so inclusion would be most welcome.

------- Comment #29 From Miika Ahonen 2006-04-02 21:54:53 0000 -------
Just adding myself to CC :)

I'd really love to see this in portage, like some others.. but it seems there's
been no progress on it for quite some time?

------- Comment #30 From Marti Raudsepp 2006-04-03 03:31:58 0000 -------
(In reply to comment #29)
> I'd really love to see this in portage, like some others.. but it seems there's
> been no progress on it for quite some time?

Yeah, it looks like you have to offer sexual favors to the package maintainers
to get this into Portage.

------- Comment #31 From George Shapovalov 2006-04-03 07:26:36 0000 -------
(In reply to comment #30)
> Yeah, it looks like you have to offer sexual favors to the package 
> maintainers to get this into Portage.

That would be funny, because you essentially have to offer to*be* the package
maintainer, to get this into portage ;).

Please see my comments on #48136 (the rival D compiler) for a more details on
the general situation and what would be needed to do to add D cleanly. Also, if
there are any D-related bugs I missed, please add them as dependencies to
#118209. Please do *not* start flames or misc discussion on that bug, as it is
simply a tracker. However I would wellcome somebody stepping forward, willing
to take up on a role of D-language maintainer. Usual recruitment rules apply -
please provide some information about yourself, links to the relevant bugs,
anything you would want to show..

George

------- Comment #32 From Thomas Kühne 2006-04-04 07:07:53 0000 -------
Created an attachment (id=83888) [edit]
Ebuild for DMD-0.151 on AMD64 supporting SLOTs

------- Comment #33 From Thomas Kühne 2006-10-14 04:35:40 0000 -------
Created an attachment (id=99651) [edit]
Ebuild for DMD-0.169 on AMD64 and X86 using SLOTs

------- Comment #34 From Jose Quinteiro 2006-11-03 16:56:16 0000 -------
(In reply to comment #33)

I had to add "sys-libs/libstdc++-v3" to RDEPEND in order to get this compiler
to run on my system (x86 2006.1).

------- Comment #35 From Thomas Kühne 2006-11-03 23:41:26 0000 -------
Created an attachment (id=101192) [edit]
Ebuild for DMD-0.173 on AMD64 and X86 using SLOTs

fixed the libstdc++-v3 on x86 systems

------- Comment #36 From Jakub Moc (RETIRED) 2007-01-02 01:21:15 0000 -------
*** Bug 159662 has been marked as a duplicate of this bug. ***

------- Comment #37 From Anant Narayanan (RETIRED) 2007-03-09 14:59:43 0000 -------
Thanks to everyone for their inputs, DMD v1.0.0 is now in portage. Track amd64
keyword request on bug #170131

First Last Prev Next    No search results available      Search page      Enter new bug