Thread overview
Will there be dmd.deb?
Feb 06, 2007
Henning Hasemann
Feb 06, 2007
Walter Bright
Feb 07, 2007
Henning Hasemann
Feb 07, 2007
Witold Baryluk
February 06, 2007
Hi, first of all, I love D (DMD).
Thats especially true for 1.005, very good work, thanks to everybody involved.

But I wondered why theres no one packaging dmd for debian (or other linux
distributions)?
I then looked into license.txt and saw it clearly disallowes any redistribution.
I think having a packaged version available whould be good for Ds popularity,
as it makes it very easy to "just try it out", and maybe one or the other
stumbles upon this in his package list (I found a lot of cool programs like
this).

So how could that work? Could one get an agreement to just package dmd into debs and provide them on a website (either an own one or a provided one by digitalmars).

I whould at least be willing to invest time for packing dmd into .debs
(I dont have any experience in it, but I dont imagine this whould be to hard),
just I cant guarantee to have the time always available when somebody
screems for the latest release to be packaged.

Henning
February 06, 2007
Henning Hasemann wrote:
> Hi, first of all, I love D (DMD).
> Thats especially true for 1.005, very good work, thanks to everybody involved.
> 
> But I wondered why theres no one packaging dmd for debian (or other linux
> distributions)?
> I then looked into license.txt and saw it clearly disallowes any redistribution.
> I think having a packaged version available whould be good for Ds popularity,
> as it makes it very easy to "just try it out", and maybe one or the other
> stumbles upon this in his package list (I found a lot of cool programs like
> this).
> 
> So how could that work? Could one get an agreement to just package dmd into debs
> and provide them on a website (either an own one or a provided one by
> digitalmars).
> 
> I whould at least be willing to invest time for packing dmd into .debs
> (I dont have any experience in it, but I dont imagine this whould be to hard),
> just I cant guarantee to have the time always available when somebody
> screems for the latest release to be packaged.
> 
> Henning

I know nothing about .deb, but if you want to put one together, I can make it downloadable from digitalmars.com.
February 06, 2007
Henning Hasemann wrote:

> But I wondered why theres no one packaging dmd for debian (or other linux
> distributions)?

I've been making RPMS for a while, since 0.109 or something like that...
http://www.algonet.se/~afb/d/dmd.spec ("rpmbuild -bb dmd.spec" to build)

> I then looked into license.txt and saw it clearly disallowes any redistribution.
> I think having a packaged version available whould be good for Ds popularity,
> as it makes it very easy to "just try it out", and maybe one or the other
> stumbles upon this in his package list (I found a lot of cool programs like
> this).

Like you say the binary RPM cannot be redistributed, so I've just posted
the package specification to build your own using the official ZIP file.

> So how could that work? Could one get an agreement to just package dmd into debs
> and provide them on a website (either an own one or a provided one by
> digitalmars).
> 
> I whould at least be willing to invest time for packing dmd into .debs
> (I dont have any experience in it, but I dont imagine this whould be to hard),
> just I cant guarantee to have the time always available when somebody
> screems for the latest release to be packaged.

You can use my RPM and the "alien" program, if you want a quick start ?

The RPM has some optional stuff to use unittests, warnings or contracts.
But when run normally it just repackages the binaries from the zipfile.
I installed DMD into %{_bindir}/dmd, and Phobos into %{_libdir}/phobos.
For the normal %{_prefix} of /usr, that would be /usr/bin and /usr/lib.

The Phobos subpackage needs to be redone, to allow using Tango instead.
(so that you can install dmd+phobos or dmd+tango, whichever you prefer)

--anders
February 07, 2007
http://movax.mpi.int.pl/d.php

I can also create a self contained deb, but i can redistribute it, so until Walter wouldn't agree i will not do this. :)


February 07, 2007
On Tue, 06 Feb 2007 09:03:16 -0800
Walter Bright <newshound@digitalmars.com> wrote:

Walter:
Did the package reach you or do I have to try a different address?

Henning