www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Debian install package for dmd?

reply Walter Bright <newshound1 digitalmars.com> writes:
Does anyone know how to build these things, and is willing to set up 
essentially a turnkey system so I can just copy the files in, run a 
script, and voila! a self-installing download?
Jan 23 2008
next sibling parent jcc7 <technocrat7 gmail.com> writes:
== Quote from Walter Bright (newshound1 digitalmars.com)'s article
 Does anyone know how to build these things, and is willing to set up
 essentially a turnkey system so I can just copy the files in, run a
 script, and voila! a self-installing download?

I don't know anything about Debian, but several Debian fans have offered to help before. Perhaps their tips are of use to you (one person even tried to e-mail you a package): http://www.digitalmars.com/d/archives/digitalmars/D/Will_there_be_dmd.deb_47844.html#N47944 http://www.digitalmars.com/d/archives/18027.html http://www.digitalmars.com/d/archives/digitalmars/D/announce/Making_debian_package_for_dmd._5324.html
Jan 23 2008
prev sibling parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Walter Bright wrote:

 Does anyone know how to build these things, and is willing to set up 
 essentially a turnkey system so I can just copy the files in, run a 
 script, and voila! a self-installing download?

The earlier GNU/Linux packages that we made, either in the RPM or in the DEB format, had problems with the non-distributable license of DMD. (and the Free Software Guidelines said that license cannot be specific to a single party or project, so something like Tango has wouldn't do) Some solved this by making a non-official package that downloaded the ZIP from ftp.digitalmars.com as part of the installation process... /etc/apt/sources.list: "deb http://d.xk.pl/debian/ unstable contrib" But that's pretty non-standard, and depends on the network working OK. Other packages and installation methods are available from Wiki4D: http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler And GDC is in Debian now: http://packages.debian.org/testing/gdc-4.1 `apt-get install gdc-4.1` --anders
Jan 23 2008
next sibling parent reply Jason House <jason.james.house gmail.com> writes:
Anders F Björklund Wrote:

 Walter Bright wrote:
 
 Does anyone know how to build these things, and is willing to set up 
 essentially a turnkey system so I can just copy the files in, run a 
 script, and voila! a self-installing download?

The earlier GNU/Linux packages that we made, either in the RPM or in the DEB format, had problems with the non-distributable license of DMD. (and the Free Software Guidelines said that license cannot be specific to a single party or project, so something like Tango has wouldn't do)

Would you happen to know the minimal set of license changes that'd be required to allow a true debian package? I'd love to see this happen for dmd. That plus a package for libraries (both phobos and tango) that works with both dmd and gdc installations would be awesome!
Jan 23 2008
parent =?windows-1252?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Jason House wrote:

 The earlier GNU/Linux packages that we made, either in the RPM or in
 the DEB format, had problems with the non-distributable license of DMD.
 (and the Free Software Guidelines said that license cannot be specific
 to a single party or project, so something like Tango has wouldn't do)

Would you happen to know the minimal set of license changes that'd be required to allow a true debian package? I'd love to see this happen for dmd. That plus a package for libraries (both phobos and tango) that works with both dmd and gdc installations would be awesome!

Nope, but I guess* that Debian prefers using Free Software instead ? i.e. the "free" GDC is probably preferred over the "non-free" DMD ... Phobos is usually included with GDC/DMD, unless using Tango packages. My own RPM packages are available at http://gdcgnu.sourceforge.net/ However, the first DMD issue would be the "non-distribution" clause - Sun Java has the same problems for their JDK installation packages. i.e. "The Software is copyrighted and comes with a single user license, and may not be redistributed." (the same applies to The Specification) --anders * from reading http://www.debian.org/intro/free
Jan 24 2008
prev sibling parent "Joel C. Salomon" <joelcsalomon gmail.com> writes:
Anders F Björklund wrote:
 Walter Bright wrote:
 
 Does anyone know how to build these things, and is willing to set up
 essentially a turnkey system so I can just copy the files in, run a
 script, and voila! a self-installing download?

The earlier GNU/Linux packages that we made, either in the RPM or in the DEB format, had problems with the non-distributable license of DMD. (and the Free Software Guidelines said that license cannot be specific to a single party or project, so something like Tango has wouldn't do)

I don't see that the generated package needs to be DFSG-compliant; the package can be installed by downloading the .deb from digitalmars.com -- or even by adding dm.com as a repository (which would require slightly more set-up on the DM folks' parts). --Joel
Jan 25 2008