1 |
commit: bb5aa39f982aa41b71c7d73f1cd71fda04662435 |
2 |
Author: Matthew Smith <matthew <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 23 08:10:53 2022 +0000 |
4 |
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 23 08:12:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5aa39f |
7 |
|
8 |
dev-lang/erlang: drop 25.0.2, 25.0.3 |
9 |
|
10 |
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> |
11 |
|
12 |
dev-lang/erlang/Manifest | 2 - |
13 |
dev-lang/erlang/erlang-25.0.2.ebuild | 162 --------------------------------- |
14 |
dev-lang/erlang/erlang-25.0.3.ebuild | 168 ----------------------------------- |
15 |
3 files changed, 332 deletions(-) |
16 |
|
17 |
diff --git a/dev-lang/erlang/Manifest b/dev-lang/erlang/Manifest |
18 |
index c74b5c49a360..d351af836a42 100644 |
19 |
--- a/dev-lang/erlang/Manifest |
20 |
+++ b/dev-lang/erlang/Manifest |
21 |
@@ -1,7 +1,5 @@ |
22 |
DIST erlang-24.3.3.tar.gz 59296830 BLAKE2B 1792274c77001b6f49e84f1584620a247cf3acdf075a8d581403f31a2b4cfe32e7b8104d325f3c1a999595d94484cb74b7996a35599e9ef8935931a133a554f6 SHA512 5e8ce0ebd50c1c67ca29ce9405fc18f5461793b20a1732418bc8fac404078044deb72526682aab92ee3e737bc9dc9e94e6be162a088e2cb7cc68c14b1d76454e |
23 |
DIST erlang-24.3.4.2.tar.gz 59532491 BLAKE2B 28c48f1a3197a151010a775286cf0b775567301411b8480b32cfb39c68978de5586b63c245fe58bff8034ebc04fcc3b002dee7c953127ecf581ed6d716587ae4 SHA512 78bc2dc67fe60d3ea6049c361a017c054e12b0adeeae890b0a1ee5301744505593bd19f3731acebff8312b323a3bd21a1359507d122fc34f0eb85eefb3aac88c |
24 |
-DIST erlang-25.0.2.tar.gz 59800286 BLAKE2B 4344ff5a21a6c0139842067d10d82435f504a5bd3b4112137f92ad06d7bff21352244c80eadad4a9efbc29692ac2be2a81b87ddde9b29433d1461a1148a733c7 SHA512 717406816b4428fb8bd808a9d25575b7e33a05e6aed5428295682ba8576d53f1433bd1b1593236943e592e673ed2168047873127cfd293b5522636c514328f43 |
25 |
-DIST erlang-25.0.3.tar.gz 59811038 BLAKE2B 81176f415e814b57f298782d2ae77ebf68c1493753b747b29409d95f811dc501ec5301975e90ec464ef611c3f06cf066d36b34f21e92bae10e5f02fe3f87c8b7 SHA512 d6c83722bd86e20568b879cb770e95e37b6227b932e4e74e50bbb9dc426b1f7f5286600a182011baa2b83ff7f006717ee62812959f133868765d819ddf57399f |
26 |
DIST erlang-25.0.4.tar.gz 59812650 BLAKE2B cebba32e859ec4ff0868de506771449a6d5d053d50d8f4a2cf84f9bc90da1e14ae320420b3c33f6febd5977fd1ccff98b55d3ee1a0c4b90e674e912883cb0f29 SHA512 8d9d12496d55181c0d866bbd97576551d1d78232fe34b845e8efbfbd4e95ce8426e73221d8126d12453959cd8adc5e07f121aaa93f3a5696074b43c69291d363 |
27 |
DIST erlang_doc_html_24.3.tar.gz 36645792 BLAKE2B ef90b7d05ed43656ab1ffdbbd0833c9da08a867ad7a99ec0f7f1eb59697c1f9cd5ccd150b2e564af80b2098f063da0c76121d4444b5444e603581442ad1c7bc8 SHA512 b8d3832ffdbdede656b362d719474f7b9ff04a32ea7235e77d63755629cf9305c203cd6cd9ae089171b2cee694f9641d6ed5d0197e2acf893a31d25696096f1e |
28 |
DIST erlang_doc_html_25.0.tar.gz 37051192 BLAKE2B 2d79ccb3b850b199de0a7da83c6358b9f3cf63826aeddb54307640129c1f96689200895c3c3ec52f503362945e7c6083a7317cd4ea57dc7d6772844801843c74 SHA512 6ce8423705f86fb2cd403e9c51089d7b2569ba93498f9143b5dbac85eb10b403c4bc948f8a68e55c40116cdd9a93f050bb037f94fc3c8651175d9065d2c598be |
29 |
|
30 |
diff --git a/dev-lang/erlang/erlang-25.0.2.ebuild b/dev-lang/erlang/erlang-25.0.2.ebuild |
31 |
deleted file mode 100644 |
32 |
index 1d539c7aa9b4..000000000000 |
33 |
--- a/dev-lang/erlang/erlang-25.0.2.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,162 +0,0 @@ |
36 |
-# Copyright 1999-2022 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
-WX_GTK_VER="3.0-gtk3" |
41 |
- |
42 |
-inherit elisp-common flag-o-matic java-pkg-opt-2 systemd toolchain-funcs wxwidgets |
43 |
- |
44 |
-# NOTE: If you need symlinks for binaries please tell maintainers or |
45 |
-# open up a bug to let it be created. |
46 |
- |
47 |
-UPSTREAM_V="$(ver_cut 1-2)" |
48 |
- |
49 |
-DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)" |
50 |
-HOMEPAGE="https://www.erlang.org/" |
51 |
-SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz |
52 |
- https://github.com/erlang/otp/releases/download/OTP-${UPSTREAM_V}/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz |
53 |
- doc? ( https://github.com/erlang/otp/releases/download/OTP-${UPSTREAM_V}/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )" |
54 |
- |
55 |
-LICENSE="Apache-2.0" |
56 |
-# We use this subslot because Compiled HiPE Code can be loaded on the exact |
57 |
-# same build of ERTS that was used when compiling the code. See |
58 |
-# http://erlang.org/doc/system_principles/misc.html for more information. |
59 |
-SLOT="0/${PV}" |
60 |
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
61 |
-IUSE="doc emacs java +kpoll odbc sctp ssl systemd tk wxwidgets" |
62 |
- |
63 |
-RDEPEND=" |
64 |
- acct-group/epmd |
65 |
- acct-user/epmd |
66 |
- sys-libs/ncurses:0 |
67 |
- sys-libs/zlib |
68 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
69 |
- java? ( >=virtual/jdk-1.8:* ) |
70 |
- odbc? ( dev-db/unixODBC ) |
71 |
- sctp? ( net-misc/lksctp-tools ) |
72 |
- ssl? ( >=dev-libs/openssl-0.9.7d:0= ) |
73 |
- systemd? ( sys-apps/systemd ) |
74 |
- wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] ) |
75 |
-" |
76 |
-DEPEND="${RDEPEND} |
77 |
- dev-lang/perl |
78 |
-" |
79 |
- |
80 |
-S="${WORKDIR}/otp-OTP-${PV}" |
81 |
- |
82 |
-PATCHES=( |
83 |
- "${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch |
84 |
- "${FILESDIR}"/${PN}-24.0.2-serial-configure.patch |
85 |
-) |
86 |
- |
87 |
-SITEFILE=50"${PN}"-gentoo.el |
88 |
- |
89 |
-src_prepare() { |
90 |
- default |
91 |
- |
92 |
- tc-export AR CPP CXX LD |
93 |
- |
94 |
- # bug #797886: erlang's VM does unsafe casts for ints |
95 |
- # to pointers and back. This breaks on gcc-11 -flto. |
96 |
- append-flags -fno-strict-aliasing |
97 |
-} |
98 |
- |
99 |
-src_configure() { |
100 |
- use wxwidgets && setup-wxwidgets |
101 |
- |
102 |
- local myconf=( |
103 |
- --disable-builtin-zlib |
104 |
- |
105 |
- # don't search for static zlib |
106 |
- --with-ssl-zlib=no |
107 |
- |
108 |
- $(use_enable kpoll kernel-poll) |
109 |
- $(use_with java javac) |
110 |
- $(use_enable sctp) |
111 |
- $(use_with ssl ssl) |
112 |
- $(use_enable ssl dynamic-ssl-lib) |
113 |
- $(use_enable systemd) |
114 |
- $(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null") |
115 |
- ) |
116 |
- econf "${myconf[@]}" |
117 |
-} |
118 |
- |
119 |
-src_compile() { |
120 |
- emake |
121 |
- |
122 |
- if use emacs ; then |
123 |
- pushd lib/tools/emacs &>/dev/null || die |
124 |
- elisp-compile *.el |
125 |
- popd &>/dev/null || die |
126 |
- fi |
127 |
-} |
128 |
- |
129 |
-extract_version() { |
130 |
- local path="$1" |
131 |
- local var_name="$2" |
132 |
- sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed" |
133 |
-} |
134 |
- |
135 |
-src_install() { |
136 |
- local erl_libdir_rel="$(get_libdir)/erlang" |
137 |
- local erl_libdir="/usr/${erl_libdir_rel}" |
138 |
- local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)" |
139 |
- local erl_erts_ver="$(extract_version erts VSN)" |
140 |
- local my_manpath="/usr/share/${PN}/man" |
141 |
- |
142 |
- [[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version" |
143 |
- [[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version" |
144 |
- |
145 |
- emake INSTALL_PREFIX="${D}" install |
146 |
- |
147 |
- if use doc ; then |
148 |
- # Note: we explicitly install docs into: |
149 |
- # /usr/share/doc/${PF}/{doc,lib,erts-*} |
150 |
- # To maintain that layout we gather everything in 'html-docs'. |
151 |
- # See bug #684376. |
152 |
- mkdir html-docs || die |
153 |
- mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die |
154 |
- local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. ) |
155 |
- docompress -x /usr/share/doc/${PF} |
156 |
- else |
157 |
- local DOCS=("README.md") |
158 |
- fi |
159 |
- |
160 |
- einstalldocs |
161 |
- |
162 |
- dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl |
163 |
- dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc |
164 |
- dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript |
165 |
- dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call |
166 |
- dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp |
167 |
- |
168 |
- ## Clean up the no longer needed files |
169 |
- rm "${ED}/${erl_libdir}/Install" || die |
170 |
- |
171 |
- insinto "${my_manpath}" |
172 |
- doins -r "${WORKDIR}"/man/* |
173 |
- # extend MANPATH, so the normal man command can find it |
174 |
- # see bug 189639 |
175 |
- newenvd - "90erlang" <<-_EOF_ |
176 |
- MANPATH="${my_manpath}" |
177 |
- _EOF_ |
178 |
- |
179 |
- if use emacs ; then |
180 |
- elisp-install erlang lib/tools/emacs/*.{el,elc} |
181 |
- sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \ |
182 |
- "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die |
183 |
- elisp-site-file-install "${T}/${SITEFILE}" |
184 |
- fi |
185 |
- |
186 |
- newinitd "${FILESDIR}"/epmd.init-r2 epmd |
187 |
- newconfd "${FILESDIR}"/epmd.confd-r2 epmd |
188 |
- use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service |
189 |
-} |
190 |
- |
191 |
-pkg_postinst() { |
192 |
- use emacs && elisp-site-regen |
193 |
-} |
194 |
- |
195 |
-pkg_postrm() { |
196 |
- use emacs && elisp-site-regen |
197 |
-} |
198 |
|
199 |
diff --git a/dev-lang/erlang/erlang-25.0.3.ebuild b/dev-lang/erlang/erlang-25.0.3.ebuild |
200 |
deleted file mode 100644 |
201 |
index e5b9526aba8a..000000000000 |
202 |
--- a/dev-lang/erlang/erlang-25.0.3.ebuild |
203 |
+++ /dev/null |
204 |
@@ -1,168 +0,0 @@ |
205 |
-# Copyright 1999-2022 Gentoo Authors |
206 |
-# Distributed under the terms of the GNU General Public License v2 |
207 |
- |
208 |
-EAPI=7 |
209 |
-WX_GTK_VER="3.0-gtk3" |
210 |
- |
211 |
-inherit elisp-common flag-o-matic java-pkg-opt-2 systemd toolchain-funcs wxwidgets |
212 |
- |
213 |
-# NOTE: If you need symlinks for binaries please tell maintainers or |
214 |
-# open up a bug to let it be created. |
215 |
- |
216 |
-UPSTREAM_V="$(ver_cut 1-2)" |
217 |
- |
218 |
-DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)" |
219 |
-HOMEPAGE="https://www.erlang.org/" |
220 |
-SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz |
221 |
- https://github.com/erlang/otp/releases/download/OTP-${UPSTREAM_V}/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz |
222 |
- doc? ( https://github.com/erlang/otp/releases/download/OTP-${UPSTREAM_V}/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )" |
223 |
- |
224 |
-LICENSE="Apache-2.0" |
225 |
-# We use this subslot because Compiled HiPE Code can be loaded on the exact |
226 |
-# same build of ERTS that was used when compiling the code. See |
227 |
-# http://erlang.org/doc/system_principles/misc.html for more information. |
228 |
-SLOT="0/${PV}" |
229 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
230 |
-IUSE="doc emacs java +kpoll odbc sctp ssl systemd tk wxwidgets" |
231 |
- |
232 |
-RDEPEND=" |
233 |
- acct-group/epmd |
234 |
- acct-user/epmd |
235 |
- sys-libs/ncurses:0 |
236 |
- sys-libs/zlib |
237 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
238 |
- java? ( >=virtual/jdk-1.8:* ) |
239 |
- odbc? ( dev-db/unixODBC ) |
240 |
- sctp? ( net-misc/lksctp-tools ) |
241 |
- ssl? ( >=dev-libs/openssl-0.9.7d:0= ) |
242 |
- systemd? ( sys-apps/systemd ) |
243 |
- wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] ) |
244 |
-" |
245 |
-DEPEND="${RDEPEND} |
246 |
- dev-lang/perl |
247 |
-" |
248 |
- |
249 |
-S="${WORKDIR}/otp-OTP-${PV}" |
250 |
- |
251 |
-PATCHES=( |
252 |
- "${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch |
253 |
- "${FILESDIR}"/${PN}-24.0.2-serial-configure.patch |
254 |
-) |
255 |
- |
256 |
-SITEFILE=50"${PN}"-gentoo.el |
257 |
- |
258 |
-src_prepare() { |
259 |
- default |
260 |
- |
261 |
- tc-export AR CPP CXX LD |
262 |
- |
263 |
- # bug #797886: erlang's VM does unsafe casts for ints |
264 |
- # to pointers and back. This breaks on gcc-11 -flto. |
265 |
- append-flags -fno-strict-aliasing |
266 |
-} |
267 |
- |
268 |
-src_configure() { |
269 |
- use wxwidgets && setup-wxwidgets |
270 |
- |
271 |
- local myconf=( |
272 |
- --disable-builtin-zlib |
273 |
- |
274 |
- # don't search for static zlib |
275 |
- --with-ssl-zlib=no |
276 |
- |
277 |
- $(use_enable kpoll kernel-poll) |
278 |
- $(use_with java javac) |
279 |
- $(use_enable sctp) |
280 |
- $(use_with ssl ssl) |
281 |
- $(use_enable ssl dynamic-ssl-lib) |
282 |
- $(use_enable systemd) |
283 |
- $(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null") |
284 |
- ) |
285 |
- econf "${myconf[@]}" |
286 |
-} |
287 |
- |
288 |
-src_compile() { |
289 |
- emake |
290 |
- |
291 |
- if use emacs ; then |
292 |
- pushd lib/tools/emacs &>/dev/null || die |
293 |
- elisp-compile *.el |
294 |
- popd &>/dev/null || die |
295 |
- fi |
296 |
-} |
297 |
- |
298 |
-extract_version() { |
299 |
- local path="$1" |
300 |
- local var_name="$2" |
301 |
- sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed" |
302 |
-} |
303 |
- |
304 |
-src_install() { |
305 |
- local erl_libdir_rel="$(get_libdir)/erlang" |
306 |
- local erl_libdir="/usr/${erl_libdir_rel}" |
307 |
- local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)" |
308 |
- local erl_erts_ver="$(extract_version erts VSN)" |
309 |
- local my_manpath="/usr/share/${PN}/man" |
310 |
- |
311 |
- [[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version" |
312 |
- [[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version" |
313 |
- |
314 |
- emake INSTALL_PREFIX="${D}" install |
315 |
- |
316 |
- if use doc ; then |
317 |
- # Note: we explicitly install docs into: |
318 |
- # /usr/share/doc/${PF}/{doc,lib,erts-*} |
319 |
- # To maintain that layout we gather everything in 'html-docs'. |
320 |
- # See bug #684376. |
321 |
- mkdir html-docs || die |
322 |
- mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die |
323 |
- local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. ) |
324 |
- docompress -x /usr/share/doc/${PF} |
325 |
- else |
326 |
- local DOCS=("README.md") |
327 |
- fi |
328 |
- |
329 |
- einstalldocs |
330 |
- |
331 |
- dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl |
332 |
- dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc |
333 |
- dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript |
334 |
- dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call |
335 |
- dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp |
336 |
- |
337 |
- ## Clean up the no longer needed files |
338 |
- rm "${ED}/${erl_libdir}/Install" || die |
339 |
- |
340 |
- insinto "${my_manpath}" |
341 |
- doins -r "${WORKDIR}"/man/* |
342 |
- # extend MANPATH, so the normal man command can find it |
343 |
- # see bug 189639 |
344 |
- newenvd - "90erlang" <<-_EOF_ |
345 |
- MANPATH="${my_manpath}" |
346 |
- _EOF_ |
347 |
- |
348 |
- if use emacs ; then |
349 |
- elisp-install erlang lib/tools/emacs/*.{el,elc} |
350 |
- sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \ |
351 |
- "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die |
352 |
- elisp-site-file-install "${T}/${SITEFILE}" |
353 |
- fi |
354 |
- |
355 |
- newinitd "${FILESDIR}"/epmd.init-r2 epmd |
356 |
- newconfd "${FILESDIR}"/epmd.confd-r2 epmd |
357 |
- use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service |
358 |
-} |
359 |
- |
360 |
-src_test() { |
361 |
- # Only run a subset of tests to test that everything was built |
362 |
- # successfully, otherwise we will be here for a long time. |
363 |
- emake kernel_test ARGS="-suite os_SUITE" |
364 |
-} |
365 |
- |
366 |
-pkg_postinst() { |
367 |
- use emacs && elisp-site-regen |
368 |
-} |
369 |
- |
370 |
-pkg_postrm() { |
371 |
- use emacs && elisp-site-regen |
372 |
-} |