Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/iasl/, sys-power/iasl/files/
Date: Thu, 27 Sep 2018 09:07:09
Message-Id: 1538039214.e58233192743933ccffc61ad20ce40abf5f7d7a3.polynomial-c@gentoo
1 commit: e58233192743933ccffc61ad20ce40abf5f7d7a3
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 27 09:06:54 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 27 09:06:54 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5823319
7
8 sys-power/iasl: Removed old.
9
10 Package-Manager: Portage-2.3.50, Repoman-2.3.11
11
12 sys-power/iasl/Manifest | 4 -
13 sys-power/iasl/files/iasl-20120816-locale.patch | 15 ---
14 sys-power/iasl/iasl-20121018.ebuild | 123 ------------------------
15 sys-power/iasl/iasl-20140828.ebuild | 123 ------------------------
16 4 files changed, 265 deletions(-)
17
18 diff --git a/sys-power/iasl/Manifest b/sys-power/iasl/Manifest
19 index eeacb8c3c42..63891496a23 100644
20 --- a/sys-power/iasl/Manifest
21 +++ b/sys-power/iasl/Manifest
22 @@ -1,11 +1,7 @@
23 -DIST acpica-unix-20121018.tar.gz 1272523 BLAKE2B 882d540bbfabc790dbdf13af819d8389a6b19de9d88686afb9093723c6cc99ed138e1379531df1a6cca1f7a11746bb8a4da7e3a4bf4dce1d6474c85ea59ba761 SHA512 32824579dccb9d5ba39a895a7905d746d61e2b0d19dcb215aba28e7d976e090d798af2361d474ee0b103a47776d00a6f44128a75a13b1bafb02e86364255523a
24 -DIST acpica-unix-20140828.tar.gz 1423788 BLAKE2B b694daafe34832ca8d14710b8c92066b9e29006d71b2789854714d9bfe60850349156c711746583cfedb8408b67e42accc6330d0896f66eab636244351eebbf1 SHA512 ab4cb8ba74c5abf05913b6ef39955698f2bb5c243f723d660bd8f9c397fcf2a959d5ec10326a699c53e05319a428e721f1d65a07249574200af3227676725398
25 DIST acpica-unix-20160729.tar.gz 1556095 BLAKE2B 2785d343d7aa0e3cce83d762bb70f8a7e76221da5d0e803eac3253b4a26dcaf852e114eadf811f387c7c040aeeb794de8cae37c47d8c29968f8cd0a0d76ed4b6 SHA512 37b0439b03e8d811c8b14d0c7c89471989227fb78b462f585c6290431afecc5b258073e568dde8dc982fa959ebce4b4d51589ea997f0066e66d4785ce185ccf2
26 DIST acpica-unix-20161222.tar.gz 1580428 BLAKE2B dcf44d1a19b51e43ad1a74b2ba5b4bfadeb83eca584ff5a5062aff9cc4b0a65153b1590d993b7bca602e35da747683d230ea56c380afbec3308fb83fdb03908a SHA512 ff733d210b3b013970d3f3a0bea45f346ca5cf78dd61b583d30114a69c80e8272af304d14248aa34e775e19bca1c2ddbbed1b4ba5e8ba660b28621a8ca45ae31
27 DIST acpica-unix-20171215.tar.gz 1769116 BLAKE2B f15c1202244ce5f489d80240e6c89f7fda38a3c74cf0773c4530e265876f931502571e3086aabae0082654a2085f3d6e5eeed324fd892c199a91a8837fdb19e2 SHA512 4cd3755fe28344de3259dad5209a58c9548216ecaf50a830165a0ee8993af57d4b63836904faafd5f97b1651051ee2f17a908395e0a048bab20b13395fe0d3ff
28 DIST acpica-unix-20180810.tar.gz 1797634 BLAKE2B 66b1c53874a7fa898fb042d0aac6001e623bb056ef17de46fc5a8e3ee5667178c47b5d8ecec194ebd8d2b0bdf947b5c85a1874c5d11a9ba3307a85418856ebdb SHA512 f37d8e0f1393b87cbfd9c6607104b05f85386583e4e5a5bcdbd2f049c122592a53e7cd56fe7da75e93bf3a424921fbc9291e7a39e06de80e6403abe042f869cd
29 -DIST acpitests-unix-20121018.tar.gz 1978548 BLAKE2B 9a2d0c8cacffb509400bf272608c2f4adc9dd7f884f59d6b43927cc3f67d996a789eae2a34215c4b9608498b193b82422ed144723fde2a9c101f73a6e3c68e9c SHA512 4c565b9c3af3122f5acfd802e6467124071f45987db0e5d5b9bf87a2d82e433cd6bd1b6faed71dbe6b01694c0f79b390f220515cf287519588ccae71ebafe798
30 -DIST acpitests-unix-20140828.tar.gz 2008060 BLAKE2B 9bde05aeec61db9d89ac29cb361e5cbf0f6b71501e6f3fd2a7f138be1f8936858d86cdfd9df4d8c3f08efe2e593791f58f1a8a79538f66c23ec599199bb204d9 SHA512 7c3d36c9c1054a56f9b473cd0204062d7ac93b66e1f4d448575182ac3fb0a819506701306be406dd7b8385d37c6f77d7bc4dadc57f6743203ac1bee36a975be5
31 DIST acpitests-unix-20160729.tar.gz 1829061 BLAKE2B 8dacb39c477ff8ba8b68a3f061b74e90a128a90eb287b9febd57d6871ff0878dfe2eaf616d9881af2b0bca6c8db57d48711ad9009c6ceb1ceba321bed182a51c SHA512 bf6073092a0dfb208f1d4b13ff3a3c5335be8e1326b1e58acd41def1a402ab0d843600f616019d1dde6593db8c53c6876bd9d489360fe98c6a7bee95d9215600
32 DIST acpitests-unix-20161222.tar.gz 1759278 BLAKE2B cb1b3ea882135e9ee87c4337df4710ac2e613b89f2606306c3ce68af049735f999ae6a37b1f75c112f0fb5f8bc5af6897bf18715f657c8dcac82a37637da2a57 SHA512 ff0435f40564a94ceb3bc6cfc11ac859a5467b650004238092d7f3e2f7d596e7eb2fb9d3c56f0860c8324d38fcbedf3c6f4bc3f0569f1148462b824c7c025408
33 DIST acpitests-unix-20171215.tar.gz 2034932 BLAKE2B c36aaf6a8a7aadf54651f95486af918926b664069ed961993c3ee8a062a646a7bd4e40adeebe82a101a5997080b90762fa016724ed4be31af56086eb3c3b3ab9 SHA512 b405e87f18b15bd01540d32c021a7b900139abd7e698b55786ccbaf8536c5068087a8ba1e7adbb69e0954cdc6b347e9a88428f1e8f889e0e9eb3a472c11235f9
34
35 diff --git a/sys-power/iasl/files/iasl-20120816-locale.patch b/sys-power/iasl/files/iasl-20120816-locale.patch
36 deleted file mode 100644
37 index 42551334210..00000000000
38 --- a/sys-power/iasl/files/iasl-20120816-locale.patch
39 +++ /dev/null
40 @@ -1,15 +0,0 @@
41 -diff -Nuar acpica-unix-20120816.orig/generate/unix/Makefile.config acpica-unix-20120816/generate/unix/Makefile.config
42 ---- acpica-unix-20120816.orig/generate/unix/Makefile.config 2012-08-16 15:51:15.000000000 +0000
43 -+++ acpica-unix-20120816/generate/unix/Makefile.config 2012-09-07 18:31:41.887229126 +0000
44 -@@ -161,9 +161,9 @@
45 - #YACC= byacc
46 - #YFLAGS += -v -d
47 - #
48 --YACC= bison
49 -+YACC= LC_ALL=C bison
50 - YFLAGS += -v -d -y
51 -
52 --LEX= flex
53 -+LEX= LC_ALL=C flex
54 - LFLAGS += -i -s
55 -
56
57 diff --git a/sys-power/iasl/iasl-20121018.ebuild b/sys-power/iasl/iasl-20121018.ebuild
58 deleted file mode 100644
59 index 0f20cc66bf6..00000000000
60 --- a/sys-power/iasl/iasl-20121018.ebuild
61 +++ /dev/null
62 @@ -1,123 +0,0 @@
63 -# Copyright 1999-2014 Gentoo Foundation
64 -# Distributed under the terms of the GNU General Public License v2
65 -
66 -EAPI=4
67 -
68 -inherit toolchain-funcs flag-o-matic eutils
69 -
70 -MY_PN=acpica-unix
71 -MY_P=${MY_PN}-${PV}
72 -MY_TESTS_P=${MY_PN/ca/tests}-${PV}
73 -DESCRIPTION="Intel ACPI Source Language (ASL) compiler"
74 -HOMEPAGE="https://www.acpica.org/downloads/"
75 -SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz
76 - test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )"
77 -
78 -LICENSE="iASL"
79 -SLOT="0"
80 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd"
81 -IUSE="test"
82 -
83 -DEPEND="sys-devel/bison
84 - sys-devel/flex"
85 -RDEPEND=""
86 -
87 -S=${WORKDIR}/${MY_P}
88 -
89 -pkg_setup() {
90 - if use test && has test ${FEATURES}; then
91 - ewarn 'You have selected USE="test". This will install the test results'
92 - ewarn "into /usr/share/${PF}/, compressed as a tarball."
93 - ewarn 'The tests themselves will only rarely die, but the test results'
94 - ewarn 'are interesting for arch testing. The tests may take quite some'
95 - ewarn 'time to complete.'
96 - fi
97 -}
98 -
99 -src_prepare() {
100 - #epatch "${FILESDIR}/${PN}-20110922-as-needed.patch"
101 - epatch "${FILESDIR}/${PN}-20120816-locale.patch"
102 - # Upstream has changed the buildsystem a lot, not sure if these are still
103 - # needed
104 - #epatch "${FILESDIR}/${PN}-20120816-parallelmake-001.patch"
105 - #epatch "${FILESDIR}/${PN}-20110922-parallelmake-002.patch"
106 - #epatch "${FILESDIR}/${PN}-20110922-parallelmake-003.patch"
107 -
108 - find "${S}" -type f -name 'Makefile*' -print0 | \
109 - xargs -0 -I '{}' \
110 - sed -r -e 's:-\<Werror\>::g' -i '{}' \
111 - || die
112 -
113 - export BITS=64
114 -}
115 -
116 -src_configure() {
117 - :
118 -}
119 -
120 -src_compile() {
121 - cd acpica/generate/unix
122 - emake BITS=${BITS}
123 -}
124 -
125 -src_test() {
126 - aslts_test
127 - #aapits_test
128 - #The aapits test currently fails, missing include probably.
129 -}
130 -
131 -src_install() {
132 - cd acpica/generate/unix
133 - emake install DESTDIR="${D}" BITS=${BITS}
134 - default_src_install
135 - #local bin
136 - #for bin in $(<"${T}"/binlist) ; do
137 - # dobin "${T}"/${bin}
138 - #done
139 - dodoc "${S}"/changes.txt
140 - newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt
141 - newdoc "${S}"/generate/unix/readme.txt unix-readme.txt
142 - newdoc "${S}"/generate/lint/readme.txt lint-readme.txt
143 - newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt
144 -
145 - if use test && has test ${FEATURES}; then
146 - tb="${T}"/testresults.tar.bz2
147 - export ASLTSDIR="$(<"${T}"/asltdir)"
148 - ebegin "Creating Test Tarball"
149 - tar -cjf "${tb}" -C "${ASLTSDIR}"/tmp/RESULTS . || die "tar failed"
150 - eend $?
151 - dodir /usr/share/${PF}
152 - insinto /usr/share/${PF}
153 - doins ${tb} || die "doins testresults.tar.bz2 failed"
154 - fi
155 -
156 -}
157 -
158 -aslts_test() {
159 - export ASL="${S}"/generate/unix/bin${BITS}/iasl \
160 - acpiexec="${S}"/generate/unix/bin${BITS}/acpiexec \
161 - ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts
162 - export PATH="${PATH}:${ASLTSDIR}/bin"
163 - echo "$ASLTSDIR" >"${T}"/asltdir
164 - cd "${ASLTSDIR}"
165 - edos2unix $(find . -type 'f')
166 - make install || die "make install aslts test failed"
167 - chmod +x $(find bin/ ! -regex 'ERROR_OPCODES|HOW_TO_USE|README' ) || die "chmod bin +x failed"
168 -
169 - #The below Do commands runs the tests twice and then dies if the results aren't
170 - #Identical.
171 - Do 1 || die "failed Do 1"
172 - Do 2 || die "failed Do 2"
173 -}
174 -
175 -aapits_test() {
176 - mv "${WORKDIR}/${MY_TESTS_P}/tests/aapits" "${S}/tools/" || die "mv failed"
177 - cd "${S}/tools/aapits" || die "cannot find ${S}/tools/aapits"
178 - edos2unix $(find . -type 'f')
179 - chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x failed"
180 - make || die "make in aapits failed"
181 - cd asl || die "cd asl failed"
182 - make || die "make in asl failed"
183 - cd ../bin
184 - ./aapitsrun || die "aapitsrun failed"
185 -}
186
187 diff --git a/sys-power/iasl/iasl-20140828.ebuild b/sys-power/iasl/iasl-20140828.ebuild
188 deleted file mode 100644
189 index d3b1c1eb1a0..00000000000
190 --- a/sys-power/iasl/iasl-20140828.ebuild
191 +++ /dev/null
192 @@ -1,123 +0,0 @@
193 -# Copyright 1999-2015 Gentoo Foundation
194 -# Distributed under the terms of the GNU General Public License v2
195 -
196 -EAPI=5
197 -
198 -inherit toolchain-funcs flag-o-matic eutils
199 -
200 -MY_PN=acpica-unix
201 -MY_P=${MY_PN}-${PV}
202 -MY_TESTS_P=${MY_PN/ca/tests}-${PV}
203 -DESCRIPTION="Intel ACPI Source Language (ASL) compiler"
204 -HOMEPAGE="https://www.acpica.org/downloads/"
205 -SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz
206 - test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )"
207 -
208 -LICENSE="iASL"
209 -SLOT="0"
210 -KEYWORDS="amd64 ppc x86 ~amd64-fbsd ~x86-fbsd"
211 -IUSE="test"
212 -
213 -DEPEND="sys-devel/bison
214 - sys-devel/flex"
215 -RDEPEND=""
216 -
217 -S=${WORKDIR}/${MY_P}
218 -
219 -pkg_setup() {
220 - if use test && has test ${FEATURES}; then
221 - ewarn 'You have selected USE="test". This will install the test results'
222 - ewarn "into /usr/share/${PF}/, compressed as a tarball."
223 - ewarn 'The tests themselves will only rarely die, but the test results'
224 - ewarn 'are interesting for arch testing. The tests may take quite some'
225 - ewarn 'time to complete.'
226 - fi
227 -}
228 -
229 -src_prepare() {
230 - epatch "${FILESDIR}/${PN}-20140828-locale.patch" \
231 - "${FILESDIR}/${PN}-20140214-nostrip.patch"
232 -
233 - find "${S}" -type f -name 'Makefile*' -print0 | \
234 - xargs -0 -I '{}' \
235 - sed -r -e 's:-\<Werror\>::g' -i '{}' \
236 - || die
237 -
238 - # BITS is tied to ARCH - please set appropriately if you add new keywords
239 - if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then
240 - export BITS=64
241 - else
242 - export BITS=32
243 - fi
244 -}
245 -
246 -src_configure() {
247 - :
248 -}
249 -
250 -src_compile() {
251 - cd acpica/generate/unix
252 - emake BITS=${BITS}
253 -}
254 -
255 -src_test() {
256 - aslts_test
257 - #aapits_test
258 - #The aapits test currently fails, missing include probably.
259 -}
260 -
261 -src_install() {
262 - cd acpica/generate/unix
263 - emake install DESTDIR="${D}" BITS=${BITS}
264 - default_src_install
265 - #local bin
266 - #for bin in $(<"${T}"/binlist) ; do
267 - # dobin "${T}"/${bin}
268 - #done
269 - dodoc "${S}"/changes.txt
270 - newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt
271 - newdoc "${S}"/generate/unix/readme.txt unix-readme.txt
272 - newdoc "${S}"/generate/lint/readme.txt lint-readme.txt
273 - newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt
274 -
275 - if use test && has test ${FEATURES}; then
276 - tb="${T}"/testresults.tar.bz2
277 - export ASLTSDIR="$(<"${T}"/asltdir)"
278 - ebegin "Creating Test Tarball"
279 - tar -cjf "${tb}" -C "${ASLTSDIR}"/tmp/RESULTS . || die "tar failed"
280 - eend $?
281 - dodir /usr/share/${PF}
282 - insinto /usr/share/${PF}
283 - doins ${tb}
284 - fi
285 -
286 -}
287 -
288 -aslts_test() {
289 - export ASL="${S}"/generate/unix/bin/iasl \
290 - acpiexec="${S}"/generate/unix/bin/acpiexec \
291 - ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts
292 - export PATH="${PATH}:${ASLTSDIR}/bin"
293 - echo "$ASLTSDIR" >"${T}"/asltdir
294 - cd "${ASLTSDIR}"
295 - edos2unix $(find . -type 'f')
296 - make install || die "make install aslts test failed"
297 - chmod +x $(find bin/ ! -regex 'ERROR_OPCODES|HOW_TO_USE|README' ) || die "chmod bin +x failed"
298 -
299 - #The below Do commands runs the tests twice and then dies if the results aren't
300 - #Identical.
301 - Do 1 || die "failed Do 1"
302 - Do 2 || die "failed Do 2"
303 -}
304 -
305 -aapits_test() {
306 - mv "${WORKDIR}/${MY_TESTS_P}/tests/aapits" "${S}/tools/" || die "mv failed"
307 - cd "${S}/tools/aapits" || die "cannot find ${S}/tools/aapits"
308 - edos2unix $(find . -type 'f')
309 - chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x failed"
310 - make || die "make in aapits failed"
311 - cd asl || die "cd asl failed"
312 - make || die "make in asl failed"
313 - cd ../bin
314 - ./aapitsrun || die "aapitsrun failed"
315 -}