summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-06-18 06:31:38 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-06-18 06:31:38 +0000
commit0823e3552224cd91e808ead04d980b5ea60f40c2 (patch)
tree1280836f82b75286a0e4fd0b08b0045abd2066a9 /sys-power
parentFix double changelog. (diff)
downloadhistorical-0823e3552224cd91e808ead04d980b5ea60f40c2.tar.gz
historical-0823e3552224cd91e808ead04d980b5ea60f40c2.tar.bz2
historical-0823e3552224cd91e808ead04d980b5ea60f40c2.zip
Bug #322611: version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/iasl/ChangeLog7
-rw-r--r--sys-power/iasl/Manifest5
-rw-r--r--sys-power/iasl/iasl-20100528.ebuild127
3 files changed, 137 insertions, 2 deletions
diff --git a/sys-power/iasl/ChangeLog b/sys-power/iasl/ChangeLog
index d5fc15d557d7..372deed805e4 100644
--- a/sys-power/iasl/ChangeLog
+++ b/sys-power/iasl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/iasl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.31 2010/05/04 17:32:17 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.32 2010/06/18 06:31:38 robbat2 Exp $
+
+*iasl-20100528 (18 Jun 2010)
+
+ 18 Jun 2010; Robin H. Johnson <robbat2@gentoo.org> +iasl-20100528.ebuild:
+ Bug #322611: version bump
*iasl-20100428 (04 May 2010)
diff --git a/sys-power/iasl/Manifest b/sys-power/iasl/Manifest
index 69bbd1c37020..925d8cf00bf5 100644
--- a/sys-power/iasl/Manifest
+++ b/sys-power/iasl/Manifest
@@ -11,6 +11,7 @@ DIST acpica-unix-20090521.tar.gz 940506 RMD160 a69ee35de241aab09d5df99f47128860d
DIST acpica-unix-20090903.tar.gz 951383 RMD160 8e1520c8650d18d3b565d97af91413efc09cad49 SHA1 4c11d015dd7f1b9c9805588739275869f9b27d64 SHA256 dab28561abdb0a9082fa720e5510c9074cff460724304b5b61b637d4d27f8b64
DIST acpica-unix-20091013.tar.gz 957187 RMD160 8208761bd280e9c9cafa9538d7ebb21ae947d473 SHA1 d47878529097fc7c2409f4f9f8eae71f21b8078b SHA256 26c105a5d551e76c450a368371394ca09f7dd8b7f876d0500a6ffec37a19bd45
DIST acpica-unix-20100428.tar.gz 1039493 RMD160 59a8eaea119510cfa7dc0b8de40fbc9e848a015c SHA1 5ff8ec6b672ff71ae27e5ae700684c643d4dbdd6 SHA256 2e0cdd1bdc3c3fd3f701c19a8bb2e089e6feb23d3a19068b102ffa492b1dc4f5
+DIST acpica-unix-20100528.tar.gz 1058661 RMD160 03150071fc016e0f255349fea6b10a44f261042e SHA1 b36e2ffdd9fc169ea3084ab95341b01a9380b21e SHA256 f3af776f968c29daa4f061d594d641297f3838805307d243385785b7326d324c
DIST acpitests-unix-20080514.tar.gz 1898223 RMD160 16075cb2f69ab0ef0b8388b79186c8c000a1722f SHA1 1a2f41fe75cc32d32661fcaa6f1c6e4aca3455eb SHA256 6e43826295874c6dbd17cd7e4fbacfcd6a2d1581626591c797ee5d94d59faa86
DIST acpitests-unix-20080701.tar.gz 1880102 RMD160 23b7b14c6f518b14ce7786d12a55debe78b997f2 SHA1 6be97af198917a0168f89178316e8b79715a15ac SHA256 8dc21976da4d2ee8e4cff6cd6b807c5dcfbbdbe0ec0562d0d435b7563680bdb5
DIST acpitests-unix-20090123.tar.gz 1880717 RMD160 a8aea45b2d5ec2050db4cb2d474c55ff14a196b1 SHA1 eccb018d4fad73be67a34ac0848b23be575518be SHA256 d46788816bf677601ad050280260db5f04ddd30f7e2b131e2fc4f26f256de290
@@ -18,6 +19,7 @@ DIST acpitests-unix-20090521.tar.gz 1926171 RMD160 ee3083dc7b2109e0e0b43e0b12eec
DIST acpitests-unix-20090903.tar.gz 1949552 RMD160 6efbdc0072c229b98015b9dd4300360984af1dda SHA1 844a84119a377f15e40db7e1a1afe17ed44d4428 SHA256 2b1766ee1e177a0ef397cb1302ae032171c842be4aed7d2cdb50cbeb84e73f06
DIST acpitests-unix-20091013.tar.gz 1949552 RMD160 4c0b160c920844f19a9fa5d6392b63af7d73ba99 SHA1 4d362e13f1404fe0770d4c5f129f1f1c13a4a5a3 SHA256 1f220bca2e19b9728fc208f4951d37fa5dc5769e986bd91ac72a8b9e0c69e9e3
DIST acpitests-unix-20100428.tar.gz 1928864 RMD160 9799d136c2a7abbb52d036e5adf2a7a2731ec439 SHA1 d472bb311b5600508f7192badb64f0920f7a6cac SHA256 fbee4a4aff7c82d3209d7320df5a5baae7c0f8167c18fdf7767def652f295bd9
+DIST acpitests-unix-20100528.tar.gz 1951819 RMD160 836beeae14d5b6299303d6b1718fa777acfcc906 SHA1 408689675a0cc2730d201d65ba10bb54d7ee982c SHA256 baf446881e7ef872f8182fcaf45b59e93ff11cbe82b78aca4f51b6ca43c3dcbf
EBUILD iasl-20060912.ebuild 1164 RMD160 e0f61b613639cbd3d2272809c38ebe132b4fcea0 SHA1 759656f4c2522e274fc3cbcb7e3ac696e81cdc27 SHA256 d3cd2c4929fa374280f48780035854850c53c0bf3c9509bf4ef273fa2f484f36
EBUILD iasl-20080514.ebuild 3253 RMD160 a903415646a6b1fef3c166b273a6ec43dcb2af71 SHA1 469b416c56a17d2ebb8867f54064e0cdc52e26aa SHA256 ef4a15c6d2db618573d6d237e0c5dc4a97783f6850cea50978cb3e028a564af8
EBUILD iasl-20080701.ebuild 3346 RMD160 d59b04dd46599a24bfe0dea92c66baa3a440fb9c SHA1 3bd16cecb19a1db271dd76cca3a7620513b60bf3 SHA256 acd03b066ae6d247b6609eaffdd3f3d5e39b2d43040035138c53b56fbe7313a7
@@ -26,5 +28,6 @@ EBUILD iasl-20090521.ebuild 3466 RMD160 7db34753b46723ea486a38ae6f879c10350272ff
EBUILD iasl-20090903.ebuild 3507 RMD160 6d7b73c5d1e7b37b3f262e824b469c255501fe46 SHA1 74a62d68b17e96923e6122097e076d96d5160aba SHA256 cd34841d6698e168e4abb7397d45c4561094ae4d9e07c1c9ca297124bbc46e08
EBUILD iasl-20091013.ebuild 3507 RMD160 ad42d1c7671d9b27026ee6d534b70990244a9b28 SHA1 5e5bd186d348635f4bc7d3f0fb8a1bc3a6a80edd SHA256 8b64105b723917e7c7c5da52dae77ef2817962ba5c15d7f48b27ed446e790ff3
EBUILD iasl-20100428.ebuild 3507 RMD160 4be7937c199d51741d324e9fb09adb8faee73bc1 SHA1 d7e1cf40a1115a765e9a7b02822176442fde5a3c SHA256 a61ba0fa89524bf64440fe6e4758a6ce6af9823a0b2a34613f48f8ca7f6c9eff
-MISC ChangeLog 5000 RMD160 585141745a8bf0a68f80129717e501ddf559c709 SHA1 cf3b3ec68e8a13dbee6029a6ced559d2642a6973 SHA256 b96dc04e2da634fd649b00471cb2926064201655ac860718e770eeb3d4a39226
+EBUILD iasl-20100528.ebuild 3507 RMD160 7fe6079a3006c011627384576b0b965b90a4e229 SHA1 d147b1afa23a547c7e12b8aab54a9a32398ee71a SHA256 50c1a20d659a6faffc661398317c81763b1e09a648f252217ef2039dd3a1aa77
+MISC ChangeLog 5135 RMD160 c33a3e853429ad81dc0aa54d97e201bb991a6f31 SHA1 0cf1c864c27810a2bce0dd74dc76944a26354938 SHA256 7023f0dd0a8724a8bd59944ce17832c26d71d8243dc7d04f8c79011e532d7c70
MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44
diff --git a/sys-power/iasl/iasl-20100528.ebuild b/sys-power/iasl/iasl-20100528.ebuild
new file mode 100644
index 000000000000..3a79ab7fd050
--- /dev/null
+++ b/sys-power/iasl/iasl-20100528.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20100528.ebuild,v 1.1 2010/06/18 06:31:38 robbat2 Exp $
+
+inherit toolchain-funcs flag-o-matic eutils
+
+MY_PN=acpica-unix
+MY_P=${MY_PN}-${PV}
+MY_TESTS_P=${MY_PN/ca/tests}-${PV}
+DESCRIPTION="Intel ACPI Source Language (ASL) compiler"
+HOMEPAGE="http://www.intel.com/technology/iapc/acpi/"
+SRC_URI="http://www.acpica.org/download/${MY_P}.tar.gz
+ test? ( http://www.acpica.org/download/${MY_TESTS_P}.tar.gz )"
+
+LICENSE="iASL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+IUSE="test"
+DEPEND="sys-devel/bison
+ sys-devel/flex"
+
+RDEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use test
+ then
+ ewarn 'You have selected USE="test". This will install the test results'
+ ewarn "into /usr/share/${PF}/, compressed as a tarball."
+ ewarn 'The tests themselves will only rarely die, but the test results'
+ ewarn 'are interesting for arch testing. The tests may take quite some'
+ ewarn 'time to complete.'
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/iasl-20100428-parallelmake.patch
+ epatch "${FILESDIR}"/iasl-locale.patch
+
+ sed -i -e 's:LDFLAGS=:LDLIBS+=:' \
+ "${S}"/compiler/Makefile || die "unable to fix compiler Makefile"
+}
+
+src_compile() {
+ local target bin
+ append-flags -fno-strict-aliasing
+
+ for target in compiler tools/acpisrc tools/acpixtract tools/acpiexec
+ do
+ einfo "Compiling in ${target}/"
+ cd "${S}"/${target}
+ case "${target}" in
+ compiler) bin=iasl;;
+ *) bin=${target#*/};;
+ esac
+
+ emake CC="$(tc-getCC)" || die "emake in ${target} failed"
+ einfo "Finished compiling ${target}"
+
+ mv ${bin} "${T}" || die "mv ${bin} failed"
+ einfo "Finished moving ${bin}"
+
+ make clean || die "make clean in ${target} failed"
+ einfo "Finished cleaning ${target}"
+
+ echo ${bin} >>"${T}"/binlist
+ done
+ einfo "$(<"${T}"/binlist)"
+}
+
+src_test() {
+ aslts_test
+ #aapits_test
+ #The aapits test currently fails, missing include probably.
+}
+
+src_install() {
+ local bin
+ for bin in $(<"${T}"/binlist) ; do
+ dobin "${T}"/${bin}
+ done
+ dodoc README changes.txt
+ if use test ; then
+ tb="${T}"/testresults.tar.bz2
+ export ASLTSDIR="$(<"${T}"/asltdir)"
+ ebegin "Creating Test Tarball"
+ tar -cjf "${tb}" -C "${ASLTSDIR}"/tmp/RESULTS . || die "tar failed"
+ eend $?
+ dodir /usr/share/${PF}
+ insinto /usr/share/${PF}
+ doins ${tb} || die "doins testresults.tar.bz2 failed"
+ fi
+
+}
+
+aslts_test() {
+ export ASL="${T}"/iasl \
+ acpiexec="${T}"/acpiexec \
+ ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts
+ export PATH="${PATH}:${ASLTSDIR}/bin"
+ echo "$ASLTSDIR" >"${T}"/asltdir
+ cd "${ASLTSDIR}"
+ edos2unix $(find . -type 'f') || die "edos2unix failed in aslts"
+ make install || die "make install aslts test failed"
+ chmod +x $(find bin/ ! -regex 'ERROR_OPCODES|HOW_TO_USE|README' ) || die "chmod bin +x failed"
+
+ #The below Do commands runs the tests twice and then dies if the results aren't
+ #Identical.
+ Do 1 || die "failed Do 1"
+ Do 2 || die "failed Do 2"
+}
+
+aapits_test() {
+ mv "${WORKDIR}/${MY_TESTS_P}/tests/aapits" "${S}/tools/" || die "mv failed"
+ cd "${S}/tools/aapits" || die "cannot find ${S}/tools/aapits"
+ edos2unix $(find . -type 'f') || die "edos2unix failed in aapits"
+ chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x failed"
+ make || die "make in aapits failed"
+ cd asl || die "cd asl failed"
+ make || die "make in asl failed"
+ cd ../bin
+ ./aapitsrun || die "aapitsrun failed"
+}