D - Debian packaging of DMD - dmd-debian.tar.gz
- scott_dmd scott.tranzoa.net Oct 06 2003
- Charles Hixson <charleshixsn earthlink.net> Oct 07 2003
- Scott Robinson <scott tranzoa.net> Oct 08 2003
Attached is a Debian packaging structure for the current distribution of DMD. Uncompressing it into the "dmd" directory and then running the standard Debian package building tools against it (dpkg-buildpackage -rfakeroot) will result in redistributable and cleanly installable/uninstallable Debian packages. DMD's license states I cannot redistribute my packages, so I hope that people who are interested can take this and use it. I know I held back from using D because there wasn't a clean install method for my operating system. I fully authorize this package being integrated into the main DMD distribution, if Walter wants to do that. I am not an active reader of the D newsgroup, so I won't see any responses unless they are e-mailed to me. Scott.
Oct 06 2003
scott_dmd scott.tranzoa.net wrote:Attached is a Debian packaging structure for the current distribution of DMD. Uncompressing it into the "dmd" directory and then running the standard Debian package building tools against it (dpkg-buildpackage -rfakeroot) will result in redistributable and cleanly installable/uninstallable Debian packages. DMD's license states I cannot redistribute my packages, so I hope that people who are interested can take this and use it. I know I held back from using D because there wasn't a clean install method for my operating system. I fully authorize this package being integrated into the main DMD distribution, if Walter wants to do that. I am not an active reader of the D newsgroup, so I won't see any responses unless they are e-mailed to me. Scott.
I have D installed on a Debian system via the released form, but a *.deb install would have been a lot easier. OTOH, I tend to run from the testing tree, not the unstable tree, so I'm not sure I would have seen it even if it had been on the main Debian site. Probably for a language in the current state of D (rapid development, no stable release) the best choice is either the current approach or to set up a location from which *.deb files and be downloaded. For D the best choice would probably be an install script. (FWIW, I installed D most recently under /usr/local/dmd.) The install script could handle such things as ensuing that the install directory was in the path, that the binaries were marked executable, and that phobos.a was copied to /usr/lib/phobos.a. I have at times forgotten each of those steps.
Oct 07 2003
On Tue, 07 Oct 2003 16:54:06 -0700, Charles Hixson wrote:FWIW: I have D installed on a Debian system via the released form, but a *.deb install would have been a lot easier. OTOH, I tend to run from the testing tree, not the unstable tree, so I'm not sure I would have seen it even if it had been on the main Debian site. Probably for a language in the current state of D (rapid development, no stable release) the best choice is either the current approach or to set up a location from which *.deb files and be downloaded. For D the best choice would probably be an install script. (FWIW, I installed D most recently under /usr/local/dmd.) The install script could handle such things as ensuing that the install directory was in the path, that the binaries were marked executable, and that phobos.a was copied to /usr/lib/phobos.a. I have at times forgotten each of those steps.
I'm not an official Debian developer. As such, I cannot add my DMD package to the main distribution. This package works in the sense of a install script - for Debian users. 1) cd dmd 2) tar -zxf ~/<path>/dmd-debian.tar.gz 3) dpkg-buildpackage -rfakeroot 4) dpkg -i ../dmd_0.73-1_i386.deb DMD is now properly placed within your Debian file system, available to all users, and easily removed. I would offer an apt source, but the license included with DMD explicitly prohibits doing anything like that. Scott.
Oct 08 2003








Scott Robinson <scott tranzoa.net>