www.digitalmars.com         C & C++   DMDScript  

D - Debian packaging of DMD - dmd-debian.tar.gz

reply scott_dmd scott.tranzoa.net writes:
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.
begin 0644 dmd-debian.tar.gz
M'XL(`"M1 C\``^U:ZW/;N!'WU^"OV":9.?M.[X?5J)=,94E)V)%D5Y23YE,&

MG5:OV\7?1K/7;>S_%G34Z/4ZC4ZWT6DWCQK-9ONT<P3=6]4JI]0D7`,<&4\E

M[2-H_-:*?(I^=/N'/JR4ALSRK'I`C"TVTH`O3:+E,DVDBD"M8"37,N$!3+DV

MPH<KF6PLK](H.T+9M?<R/AQXI=+(![S`?NQ*+&,4>LTHWGDB+A2D!J-2[0E(

MDPI,550!.(5S+X%6H]&&5K/?.NVW'T&UT6LTV.]MSJ^F'/_>!LTD`K6^C3%N

M"!/X&9Q()A)Q.1>!X$9\`WC ^P//=T`%_M&)\]O:WC?A'SU` ?]&BZZ;K2X^

M^$$IQ[\O]>U G^A&_'=W^7^OU3ZE^-_JEO7_G9!(/)8:7<<,WOX&<FE_S89K

M3].X 6Q#R

M_SZ2-GJ2GVH:M4JNT+4!7 ^+[0_'W DT'SUZ5+7:XPKLRT7U#X8)I"<B(XP]
M7'0+>8F"K4KII))'<'_  N/>AR4WTE3L>:5*$X8=<>62+9U6\F +;V3DUV#D
M/',6 PE,!W,7!K,1N*^F ]EB/(3GX_GX[!6,_W$Q'[ONY!5V=8>3 3-E \D$

M72Y =KY $V?J+,8C6)Q7`/F*OOL#H
M9_9TCH+'T_%L855ZZBQF-/Y39!_`Q6"^<(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^K];WOE#QB
M_K^#W4O_
MVUR[\1IV?3:[A-UY$A73/<(<%=64O_U-B2T\1_1AOOD`+B.$#M4_6>5%556J



M>SI$:^WS?*06];=B +%\ZKF*7Q"[XZF^R93,.>D5`6/W'AY_L*PG4`TQNP,D



M0E2=ZVWV.-]'.T0] )>8>?"W JK$C3V(4>`K0KPO5CP-DMIG1OOB6-3SPZ&^
MN'7S3KOOV<SA'E:>V;\O7GNS!WN-!S>8:F3WF+B\L:ST26(.+8SZE$?8FY5\
MA_XOS&[(>68)Z,'H8IE)H"<X[>PA?6B555\9J]\U:2[&SINX\N7HP[X)8&^-
M6.WB^?GL5;%4&8`_USF_+A;TVFW\\=*3DFZ9BG")P+BU,6Y\_]O:??]QVNC:
M[[]:K?+[CSNA_!5&+7F7,'JY\GOK4U)))9544DDEE51222655%)))9544DDE
9E51222655%)))954TK?1?P$\]WC.`%```)54
`
end
Oct 06 2003
parent reply Charles Hixson <charleshixsn earthlink.net> writes:
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.
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.
Oct 07 2003
parent Scott Robinson <scott tranzoa.net> writes:
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