Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/iasl: iasl-20140214.ebuild metadata.xml ChangeLog iasl-20090521.ebuild iasl-20120816.ebuild iasl-20110922.ebuild iasl-20111123.ebuild iasl-20060912.ebuild iasl-20080701.ebuild iasl-20100528.ebuild iasl-20080514.ebuild iasl-20091013.ebuild iasl-20100428.ebuild iasl-20090903.ebuild iasl-20121018.ebuild
Date: Wed, 26 Mar 2014 07:48:32
Message-Id: 20140326074825.5A76D2004E@flycatcher.gentoo.org
1 polynomial-c 14/03/26 07:48:25
2
3 Modified: metadata.xml ChangeLog
4 Added: iasl-20140214.ebuild
5 Removed: iasl-20090521.ebuild iasl-20120816.ebuild
6 iasl-20110922.ebuild iasl-20111123.ebuild
7 iasl-20060912.ebuild iasl-20080701.ebuild
8 iasl-20100528.ebuild iasl-20080514.ebuild
9 iasl-20091013.ebuild iasl-20100428.ebuild
10 iasl-20090903.ebuild iasl-20121018.ebuild
11 Log:
12 Version bump. Removed old. Added myself as maintainer
13
14 (Portage version: 2.2.9-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
15
16 Revision Changes Path
17 1.4 sys-power/iasl/metadata.xml
18
19 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/metadata.xml?rev=1.4&view=markup
20 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/metadata.xml?rev=1.4&content-type=text/plain
21 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/metadata.xml?r1=1.3&r2=1.4
22
23 Index: metadata.xml
24 ===================================================================
25 RCS file: /var/cvsroot/gentoo-x86/sys-power/iasl/metadata.xml,v
26 retrieving revision 1.3
27 retrieving revision 1.4
28 diff -u -r1.3 -r1.4
29 --- metadata.xml 24 Sep 2011 10:43:15 -0000 1.3
30 +++ metadata.xml 26 Mar 2014 07:48:25 -0000 1.4
31 @@ -1,7 +1,11 @@
32 <?xml version="1.0" encoding="UTF-8"?>
33 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 <pkgmetadata>
35 -<maintainer>
36 - <email>robbat2@g.o</email>
37 -</maintainer>
38 + <maintainer>
39 + <email>robbat2@g.o</email>
40 + </maintainer>
41 + <maintainer>
42 + <email>polynomial-c@g.o</email>
43 + <name>Lars Wendler</name>
44 + </maintainer>
45 </pkgmetadata>
46
47
48
49 1.42 sys-power/iasl/ChangeLog
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/ChangeLog?rev=1.42&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/ChangeLog?rev=1.42&content-type=text/plain
53 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/ChangeLog?r1=1.41&r2=1.42
54
55 Index: ChangeLog
56 ===================================================================
57 RCS file: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v
58 retrieving revision 1.41
59 retrieving revision 1.42
60 diff -u -r1.41 -r1.42
61 --- ChangeLog 5 Mar 2013 04:36:19 -0000 1.41
62 +++ ChangeLog 26 Mar 2014 07:48:25 -0000 1.42
63 @@ -1,6 +1,24 @@
64 # ChangeLog for sys-power/iasl
65 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
66 -# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.41 2013/03/05 04:36:19 patrick Exp $
67 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
68 +# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.42 2014/03/26 07:48:25 polynomial-c Exp $
69 +
70 +*iasl-20140214 (26 Mar 2014)
71 +
72 + 26 Mar 2014; Lars Wendler <polynomial-c@g.o> -iasl-20060912.ebuild,
73 + -iasl-20080514.ebuild, -iasl-20080701.ebuild, -iasl-20090521.ebuild,
74 + -iasl-20090903.ebuild, -iasl-20091013.ebuild, -iasl-20100428.ebuild,
75 + -iasl-20100528.ebuild, -iasl-20110922.ebuild, -iasl-20111123.ebuild,
76 + -iasl-20120816.ebuild, -iasl-20121018.ebuild, +iasl-20140214.ebuild,
77 + -files/acpica-unix-20051216-buildfixup.patch,
78 + -files/acpica-unix-20060512-buildfixup.patch,
79 + -files/iasl-20100428-parallelmake.patch,
80 + -files/iasl-20110922-as-needed.patch, -files/iasl-20110922-locale.patch,
81 + -files/iasl-20110922-parallelmake-001.patch,
82 + -files/iasl-20110922-parallelmake-002.patch,
83 + -files/iasl-20110922-parallelmake-003.patch,
84 + +files/iasl-20140214-locale.patch, +files/iasl-20140214-nostrip.patch,
85 + -files/iasl-locale.patch, metadata.xml:
86 + Version bump. Removed old. Added myself as maintainer.
87
88 *iasl-20130117-r1 (05 Mar 2013)
89
90
91
92
93 1.1 sys-power/iasl/iasl-20140214.ebuild
94
95 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/iasl-20140214.ebuild?rev=1.1&view=markup
96 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/iasl-20140214.ebuild?rev=1.1&content-type=text/plain
97
98 Index: iasl-20140214.ebuild
99 ===================================================================
100 # Copyright 1999-2014 Gentoo Foundation
101 # Distributed under the terms of the GNU General Public License v2
102 # $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20140214.ebuild,v 1.1 2014/03/26 07:48:25 polynomial-c Exp $
103
104 EAPI=5
105
106 inherit toolchain-funcs flag-o-matic eutils
107
108 MY_PN=acpica-unix
109 MY_P=${MY_PN}-${PV}
110 MY_TESTS_P=${MY_PN/ca/tests}-${PV}
111 DESCRIPTION="Intel ACPI Source Language (ASL) compiler"
112 HOMEPAGE="https://www.acpica.org/downloads/"
113 SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz
114 test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )"
115
116 LICENSE="iASL"
117 SLOT="0"
118 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd"
119 IUSE="test"
120
121 DEPEND="sys-devel/bison
122 sys-devel/flex"
123 RDEPEND=""
124
125 S=${WORKDIR}/${MY_P}
126
127 pkg_setup() {
128 if use test && has test ${FEATURES}; then
129 ewarn 'You have selected USE="test". This will install the test results'
130 ewarn "into /usr/share/${PF}/, compressed as a tarball."
131 ewarn 'The tests themselves will only rarely die, but the test results'
132 ewarn 'are interesting for arch testing. The tests may take quite some'
133 ewarn 'time to complete.'
134 fi
135 }
136
137 src_prepare() {
138 epatch "${FILESDIR}/${PN}-20140214-locale.patch" \
139 "${FILESDIR}/${PN}-20140214-nostrip.patch"
140
141 find "${S}" -type f -name 'Makefile*' -print0 | \
142 xargs -0 -I '{}' \
143 sed -r -e 's:-\<Werror\>::g' -i '{}' \
144 || die
145
146 # BITS is tied to ARCH - please set appropriately if you add new keywords
147 if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then
148 export BITS=64
149 else
150 export BITS=32
151 fi
152 }
153
154 src_configure() {
155 :
156 }
157
158 src_compile() {
159 cd acpica/generate/unix
160 emake BITS=${BITS}
161 }
162
163 src_test() {
164 aslts_test
165 #aapits_test
166 #The aapits test currently fails, missing include probably.
167 }
168
169 src_install() {
170 cd acpica/generate/unix
171 emake install DESTDIR="${D}" BITS=${BITS}
172 default_src_install
173 #local bin
174 #for bin in $(<"${T}"/binlist) ; do
175 # dobin "${T}"/${bin}
176 #done
177 dodoc "${S}"/changes.txt
178 newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt
179 newdoc "${S}"/generate/unix/readme.txt unix-readme.txt
180 newdoc "${S}"/generate/lint/readme.txt lint-readme.txt
181 newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt
182
183 if use test && has test ${FEATURES}; then
184 tb="${T}"/testresults.tar.bz2
185 export ASLTSDIR="$(<"${T}"/asltdir)"
186 ebegin "Creating Test Tarball"
187 tar -cjf "${tb}" -C "${ASLTSDIR}"/tmp/RESULTS . || die "tar failed"
188 eend $?
189 dodir /usr/share/${PF}
190 insinto /usr/share/${PF}
191 doins ${tb}
192 fi
193
194 }
195
196 aslts_test() {
197 export ASL="${S}"/generate/unix/bin/iasl \
198 acpiexec="${S}"/generate/unix/bin/acpiexec \
199 ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts
200 export PATH="${PATH}:${ASLTSDIR}/bin"
201 echo "$ASLTSDIR" >"${T}"/asltdir
202 cd "${ASLTSDIR}"
203 edos2unix $(find . -type 'f')
204 make install || die "make install aslts test failed"
205 chmod +x $(find bin/ ! -regex 'ERROR_OPCODES|HOW_TO_USE|README' ) || die "chmod bin +x failed"
206
207 #The below Do commands runs the tests twice and then dies if the results aren't
208 #Identical.
209 Do 1 || die "failed Do 1"
210 Do 2 || die "failed Do 2"
211 }
212
213 aapits_test() {
214 mv "${WORKDIR}/${MY_TESTS_P}/tests/aapits" "${S}/tools/" || die "mv failed"
215 cd "${S}/tools/aapits" || die "cannot find ${S}/tools/aapits"
216 edos2unix $(find . -type 'f')
217 chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x failed"
218 make || die "make in aapits failed"
219 cd asl || die "cd asl failed"
220 make || die "make in asl failed"
221 cd ../bin
222 ./aapitsrun || die "aapitsrun failed"
223 }