1 |
commit: 83cf9006ffff43c39ad42faab8705f05235bad23 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 1 16:05:20 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 1 16:08:52 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83cf9006 |
7 |
|
8 |
dev-lang/dmd-bin: remove last-rited package |
9 |
|
10 |
Gentoo-bug: 212793 |
11 |
|
12 |
dev-lang/dmd-bin/Manifest | 2 - |
13 |
dev-lang/dmd-bin/dmd-bin-1.016.ebuild | 109 ------------------------------- |
14 |
dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild | 105 ----------------------------- |
15 |
dev-lang/dmd-bin/files/25dmd | 2 - |
16 |
dev-lang/dmd-bin/metadata.xml | 9 --- |
17 |
5 files changed, 227 deletions(-) |
18 |
|
19 |
diff --git a/dev-lang/dmd-bin/Manifest b/dev-lang/dmd-bin/Manifest |
20 |
deleted file mode 100644 |
21 |
index 85904b4..0000000 |
22 |
--- a/dev-lang/dmd-bin/Manifest |
23 |
+++ /dev/null |
24 |
@@ -1,2 +0,0 @@ |
25 |
-DIST dmd.1.016.zip 4813864 SHA256 839c0d0288560989e16271e842c368347ff392c648b8fe5e4daa9853dfd6684d SHA512 d7d801904c706b2a1fbecadc51a49f2549a4a8b2da6027195d56c9ff2a271ad2f90eb091b80066a0a4608d38905de988a7320c9c720df876bad79dd4f5c14674 WHIRLPOOL 619d0d5a5baf849fff96433b332b99fc868bb30f6cfeab1221f217c953d546312c0ebc088f782edbfcd1630d4541f998167493df20bf90288c718fb51fc6f993 |
26 |
-DIST dmd.2.008.zip 5325757 SHA256 8d8a0b4399ebf1ecc7e88ee68852db5e944ec7b88607d7c02a150bfcdfaf2b64 SHA512 a66aa0141147f2c6a46938c235bc2f7747f493fd09c5265b7d6bb77242075f5e262efb2b03425f2e2ed1e6b7c2bef4ab4c0e935e1ce8167738abb86f4967db96 WHIRLPOOL 356f307353a57fa75a32866d7c21b95f92da308bd6d2afc8bb7bc559a6f18138c6f17975b2b4ea7e332130bbb5e37d1b0ec96ac28d63331a8b13b972e959d8de |
27 |
|
28 |
diff --git a/dev-lang/dmd-bin/dmd-bin-1.016.ebuild b/dev-lang/dmd-bin/dmd-bin-1.016.ebuild |
29 |
deleted file mode 100644 |
30 |
index 31876f8..0000000 |
31 |
--- a/dev-lang/dmd-bin/dmd-bin-1.016.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,109 +0,0 @@ |
34 |
-# Copyright 1999-2014 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
-# $Id$ |
37 |
- |
38 |
-inherit eutils |
39 |
- |
40 |
-MY_P=${P/-bin/} |
41 |
-MY_P=${MY_P/-/.} |
42 |
- |
43 |
-DESCRIPTION="Digital Mars D Compiler" |
44 |
-HOMEPAGE="http://www.digitalmars.com/d/" |
45 |
-SRC_URI="http://ftp.digitalmars.com/${MY_P}.zip" |
46 |
- |
47 |
-LICENSE="DMD" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~x86" |
50 |
-RESTRICT="mirror strip" |
51 |
- |
52 |
-LOC="/opt/dmd" |
53 |
-S="${WORKDIR}" |
54 |
- |
55 |
-DEPEND="sys-apps/findutils |
56 |
- app-arch/unzip" |
57 |
-RDEPEND="~virtual/libstdc++-3.3" |
58 |
- |
59 |
-src_unpack() { |
60 |
- unpack ${A} |
61 |
- |
62 |
- # Remove unneccessary files |
63 |
- mv "${S}"/dmd/lib/libphobos.a "${S}"/dmd |
64 |
- rm -r "${S}"/dmd/lib |
65 |
- mkdir "${S}"/dmd/lib |
66 |
- mv "${S}"/dmd/libphobos.a "${S}"/dmd/lib |
67 |
- |
68 |
- rm -r "${S}"/dm |
69 |
- rm "${S}"/dmd/bin/*.dll "${S}"/dmd/bin/*.exe "${S}"/dmd/bin/readme.txt |
70 |
- rm "${S}"/dmd/bin/sc.ini "${S}"/dmd/bin/windbg.hlp |
71 |
- |
72 |
- # Cleanup line endings |
73 |
- cd "${S}"/dmd |
74 |
- edos2unix `find . -name '*.c' -type f` |
75 |
- edos2unix `find . -name '*.d' -type f` |
76 |
- edos2unix `find . -name '*.ddoc' -type f` |
77 |
- edos2unix `find . -name '*.h' -type f` |
78 |
- edos2unix `find . -name '*.mak' -type f` |
79 |
- edos2unix `find . -name '*.txt' -type f` |
80 |
- edos2unix `find samples -name '*.html' -type f` |
81 |
- |
82 |
- # Fix permissions |
83 |
- fperms guo=r `find . -type f` |
84 |
- fperms guo=rx `find . -type d` |
85 |
- fperms guo=rx bin/dmd bin/dumpobj bin/obj2asm bin/rdmd |
86 |
-} |
87 |
- |
88 |
-src_compile() { |
89 |
- cd "${S}"/dmd/src/phobos |
90 |
- sed -i -e "s:DMD=.*:DMD=${S}/dmd/bin/dmd -I${S}/dmd/src/phobos -L${S}/dmd/lib/libphobos.a:" linux.mak internal/gc/linux.mak |
91 |
- edos2unix linux.mak internal/gc/linux.mak |
92 |
- make -f linux.mak |
93 |
- cp libphobos.a "${S}"/dmd/lib |
94 |
- |
95 |
- # Clean up |
96 |
- make -f linux.mak clean |
97 |
- rm internal/gc/*.o |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- cd "${S}"/dmd |
102 |
- |
103 |
- # Broken dmd.conf |
104 |
- # http://d.puremagic.com/issues/show_bug.cgi?id=278 |
105 |
- mv bin/dmd bin/dmd.bin |
106 |
- cat <<END > "bin/dmd" |
107 |
-#!/bin/sh |
108 |
-${LOC}/bin/dmd.bin -I${LOC}/src/phobos -L${LOC}/lib/libphobos.a \$* |
109 |
-END |
110 |
- fperms guo=rx bin/dmd bin/dmd.bin |
111 |
- |
112 |
- # Man pages |
113 |
- doman man/man1/dmd.1 |
114 |
- doman man/man1/dumpobj.1 |
115 |
- doman man/man1/obj2asm.1 |
116 |
- rm -r man |
117 |
- |
118 |
- # Install |
119 |
- mkdir "${D}/opt" |
120 |
- mv "${S}/dmd" "${D}/opt/dmd" |
121 |
- |
122 |
- # Set PATH |
123 |
- doenvd "${FILESDIR}/25dmd" |
124 |
-} |
125 |
- |
126 |
-pkg_postinst () { |
127 |
- ewarn "The DMD Configuration file has been disabled, " |
128 |
- ewarn "and will be re-enabled when: " |
129 |
- ewarn " " |
130 |
- ewarn "http://d.puremagic.com/issues/show_bug.cgi?id=278" |
131 |
- ewarn " " |
132 |
- ewarn "has been fixed. Meanwhile, please supply all your" |
133 |
- ewarn "configuration options in the /opt/dmd/bin/dmd " |
134 |
- ewarn "shell script. " |
135 |
- ewarn " " |
136 |
- ewarn "You may need to run: " |
137 |
- ewarn " " |
138 |
- ewarn "env-update && source /etc/profile " |
139 |
- ewarn " " |
140 |
- ewarn "to be able to use the compiler immediately. " |
141 |
- ewarn " " |
142 |
-} |
143 |
|
144 |
diff --git a/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild b/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild |
145 |
deleted file mode 100644 |
146 |
index cbe2bdb..0000000 |
147 |
--- a/dev-lang/dmd-bin/dmd-bin-2.008-r1.ebuild |
148 |
+++ /dev/null |
149 |
@@ -1,105 +0,0 @@ |
150 |
-# Copyright 1999-2014 Gentoo Foundation |
151 |
-# Distributed under the terms of the GNU General Public License v2 |
152 |
-# $Id$ |
153 |
- |
154 |
-inherit eutils |
155 |
- |
156 |
-MY_P=${P/-bin/} |
157 |
-MY_P=${MY_P/-/.} |
158 |
- |
159 |
-DESCRIPTION="Digital Mars D Compiler" |
160 |
-HOMEPAGE="http://www.digitalmars.com/d/" |
161 |
-SRC_URI="http://ftp.digitalmars.com/${MY_P}.zip" |
162 |
- |
163 |
-LICENSE="DMD" |
164 |
-SLOT="0" |
165 |
-KEYWORDS="~amd64 ~x86" |
166 |
-RESTRICT="mirror strip" |
167 |
- |
168 |
-LOC="/opt/dmd" |
169 |
-S="${WORKDIR}" |
170 |
- |
171 |
-DEPEND="sys-apps/findutils |
172 |
- app-arch/unzip" |
173 |
-RDEPEND="" |
174 |
- |
175 |
-src_unpack() { |
176 |
- unpack ${A} |
177 |
- |
178 |
- # Cleanup line endings |
179 |
- cd "${S}/dmd" |
180 |
- edos2unix `find . -name '*.c' -type f` |
181 |
- edos2unix `find . -name '*.d' -type f` |
182 |
- edos2unix `find . -name '*.ddoc' -type f` |
183 |
- edos2unix `find . -name '*.h' -type f` |
184 |
- edos2unix `find . -name '*.mak' -type f` |
185 |
- edos2unix `find . -name '*.txt' -type f` |
186 |
- edos2unix `find samples -name '*.html' -type f` |
187 |
- edos2unix src/phobos/linux.mak src/phobos/internal/gc/linux.mak |
188 |
- |
189 |
- # Fix permissions and clean up |
190 |
- fperms guo=r `find . -type f` |
191 |
- fperms guo=rx `find . -type d` |
192 |
- fperms guo=rx bin/dmd bin/dumpobj bin/obj2asm bin/rdmd |
193 |
-} |
194 |
- |
195 |
-src_compile() { |
196 |
- # Don't use teh bundled library since on gentoo we do teh compile |
197 |
- cd "${S}/dmd/src/phobos" |
198 |
- sed -i -e "s:DMD=.*:DMD=${S}/dmd/bin/dmd:" linux.mak internal/gc/linux.mak |
199 |
- # Can't use emake, customized build system |
200 |
- make -f linux.mak |
201 |
- cp obj/release/libphobos2.a "${S}/dmd/lib" |
202 |
- |
203 |
- # Clean up |
204 |
- make -f linux.mak clean |
205 |
-} |
206 |
- |
207 |
-src_install() { |
208 |
- cd "${S}/dmd" |
209 |
- |
210 |
- # Setup dmd.conf |
211 |
- cat <<END > "bin/dmd.conf" |
212 |
-[Environment] |
213 |
-DFLAGS=-I/opt/dmd/src/phobos -L-L/opt/dmd/lib |
214 |
-END |
215 |
- insinto /etc |
216 |
- doins bin/dmd.conf |
217 |
- |
218 |
- # Man pages |
219 |
- doman man/man1/dmd.1 |
220 |
- doman man/man1/dumpobj.1 |
221 |
- doman man/man1/obj2asm.1 |
222 |
- |
223 |
- # Documentation |
224 |
- dohtml "html/d/*" "html/d/phobos/*" |
225 |
- |
226 |
- # Install |
227 |
- exeinto /opt/dmd/bin |
228 |
- doexe bin/dmd |
229 |
- doexe bin/dumpobj |
230 |
- doexe bin/obj2asm |
231 |
- doexe bin/rdmd |
232 |
- |
233 |
- insinto /opt/dmd/lib |
234 |
- doins lib/libphobos2.a |
235 |
- |
236 |
- insinto /opt/dmd/samples |
237 |
- doins "samples/d/*" |
238 |
- |
239 |
- # Phobos and DMD source |
240 |
- mv src "${D}/opt/dmd/" |
241 |
- |
242 |
- # Set PATH |
243 |
- doenvd "${FILESDIR}/25dmd" |
244 |
-} |
245 |
- |
246 |
-pkg_postinst () { |
247 |
- ewarn "You may need to run: " |
248 |
- ewarn "env-update && source /etc/profile " |
249 |
- ewarn "to be able to use the compiler immediately. " |
250 |
- einfo " " |
251 |
- einfo "The bundled samples and sources may be found in " |
252 |
- einfo "/opt/dmd/samples and /opt/dmd/src respectively. " |
253 |
- einfo " " |
254 |
-} |
255 |
|
256 |
diff --git a/dev-lang/dmd-bin/files/25dmd b/dev-lang/dmd-bin/files/25dmd |
257 |
deleted file mode 100644 |
258 |
index ab7699d..0000000 |
259 |
--- a/dev-lang/dmd-bin/files/25dmd |
260 |
+++ /dev/null |
261 |
@@ -1,2 +0,0 @@ |
262 |
-PATH=/opt/dmd/bin |
263 |
-ROOTPATH=/opt/dmd/bin |
264 |
|
265 |
diff --git a/dev-lang/dmd-bin/metadata.xml b/dev-lang/dmd-bin/metadata.xml |
266 |
deleted file mode 100644 |
267 |
index 0440d04..0000000 |
268 |
--- a/dev-lang/dmd-bin/metadata.xml |
269 |
+++ /dev/null |
270 |
@@ -1,9 +0,0 @@ |
271 |
-<?xml version="1.0" encoding="UTF-8"?> |
272 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
273 |
-<pkgmetadata> |
274 |
-<!-- maintainer-needed --> |
275 |
-<longdescription> |
276 |
- This package provides a binary version of |
277 |
- the D language compiler from Digital Mars |
278 |
-</longdescription> |
279 |
-</pkgmetadata> |