Merge pull request #409 from mischief/iasl

bump(sys-power/iasl): sync with upstream
This commit is contained in:
Nick Owens 2016-04-13 20:33:53 -07:00
commit 6dcdd17cf0
17 changed files with 894 additions and 66 deletions

View File

@ -1,12 +0,0 @@
DEFINED_PHASES=compile install setup test unpack
DEPEND=sys-devel/bison sys-devel/flex
DESCRIPTION=Intel ACPI Source Language (ASL) compiler
EAPI=0
HOMEPAGE=http://www.intel.com/technology/iapc/acpi/
IUSE=test
KEYWORDS=amd64 ppc x86 ~x86-fbsd
LICENSE=iASL
SLOT=0
SRC_URI=http://www.acpica.org/download/acpica-unix-20090123.tar.gz test? ( http://www.acpica.org/download/acpitests-unix-20090123.tar.gz )
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=dd0dcb34d47759f432b544f2caa8a9c7

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare setup test
DEPEND=sys-devel/bison sys-devel/flex
DESCRIPTION=Intel ACPI Source Language (ASL) compiler
EAPI=4
HOMEPAGE=https://www.acpica.org/downloads/
IUSE=test
KEYWORDS=~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd
LICENSE=iASL
SLOT=0
SRC_URI=http://www.acpica.org/sites/acpica/files/acpica-unix-20121018.tar.gz test? ( http://www.acpica.org/sites/acpica/files/acpitests-unix-20121018.tar.gz )
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=390f9db0ab125b462e1ddac054991e1a

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare setup test
DEPEND=sys-devel/bison sys-devel/flex
DESCRIPTION=Intel ACPI Source Language (ASL) compiler
EAPI=4
HOMEPAGE=https://www.acpica.org/downloads/
IUSE=test
KEYWORDS=amd64 ppc x86 ~amd64-fbsd ~x86-fbsd
LICENSE=iASL
SLOT=0
SRC_URI=http://www.acpica.org/sites/acpica/files/acpica-unix-20130117.tar.gz test? ( http://www.acpica.org/sites/acpica/files/acpitests-unix-20130117.tar.gz )
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=a42eaa0ab2e3c684cee8091293782d52

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare setup test
DEPEND=sys-devel/bison sys-devel/flex
DESCRIPTION=Intel ACPI Source Language (ASL) compiler
EAPI=5
HOMEPAGE=https://www.acpica.org/downloads/
IUSE=test
KEYWORDS=amd64 ppc x86 ~amd64-fbsd ~x86-fbsd
LICENSE=iASL
SLOT=0
SRC_URI=http://www.acpica.org/sites/acpica/files/acpica-unix-20140828.tar.gz test? ( http://www.acpica.org/sites/acpica/files/acpitests-unix-20140828.tar.gz )
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=d291db6d61566fafc4a5b9344683adc8

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile configure install prepare setup test
DEPEND=sys-devel/bison sys-devel/flex
DESCRIPTION=Intel ACPI Source Language (ASL) compiler
EAPI=5
HOMEPAGE=https://www.acpica.org/downloads/
IUSE=test
KEYWORDS=~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd
LICENSE=iASL
SLOT=0
SRC_URI=http://www.acpica.org/sites/acpica/files/acpica-unix-20150717.tar.gz test? ( http://www.acpica.org/sites/acpica/files/acpitests-unix-20150717.tar.gz )
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=4c55b293e9011f6e16e583df6fd10ae7

View File

@ -0,0 +1,72 @@
# ChangeLog for sys-power/iasl
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
# (auto-generated from git log)
*iasl-20150717 (09 Aug 2015)
*iasl-20140828 (09 Aug 2015)
*iasl-20130117-r1 (09 Aug 2015)
*iasl-20121018 (09 Aug 2015)
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org>
+files/iasl-20080701-parallelmake.patch, +files/iasl-20120816-locale.patch,
+files/iasl-20140214-locale.patch, +files/iasl-20140214-nostrip.patch,
+files/iasl-20140828-locale.patch, +iasl-20121018.ebuild,
+iasl-20130117-r1.ebuild, +iasl-20140828.ebuild, +iasl-20150717.ebuild,
+metadata.xml:
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
the bikeshed
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Use https by default
Convert all URLs for sites supporting encrypted connections from http to
https
Signed-off-by: Justin Lecher <jlec@gentoo.org>
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
Revert DOCTYPE SYSTEM https changes in metadata.xml
repoman does not yet accept the https version.
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
Bug: https://bugs.gentoo.org/552720
06 Sep 2015; Agostino Sarubbo <ago@gentoo.org> iasl-20140828.ebuild:
ppc stable wrt bug #555944
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Set appropriate maintainer types in metadata.xml (GLEP 67)

View File

@ -0,0 +1,259 @@
# ChangeLog for sys-power/iasl
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.52 2015/08/02 18:49:49 ago Exp $
02 Aug 2015; Agostino Sarubbo <ago@gentoo.org> iasl-20140828.ebuild:
Stable for x86, wrt bug #555944
31 Jul 2015; Agostino Sarubbo <ago@gentoo.org> iasl-20140828.ebuild:
Stable for amd64, wrt bug #555944
*iasl-20150717 (26 Jul 2015)
26 Jul 2015; Lars Wendler <polynomial-c@gentoo.org> -iasl-20090123.ebuild,
-iasl-20140627.ebuild, +iasl-20150717.ebuild:
Version bump. Removed old.
*iasl-20140828 (27 Sep 2014)
27 Sep 2014; Lars Wendler <polynomial-c@gentoo.org> -iasl-20140325.ebuild,
+iasl-20140828.ebuild, +files/iasl-20140828-locale.patch:
Version bump. Removed old.
13 Aug 2014; Agostino Sarubbo <ago@gentoo.org> iasl-20130117-r1.ebuild:
Stable for ppc, wrt bug #505846
*iasl-20140627 (02 Aug 2014)
02 Aug 2014; Lars Wendler <polynomial-c@gentoo.org> -iasl-20140214.ebuild,
+iasl-20140627.ebuild:
Version bump. Removed old.
26 Jul 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> iasl-20130117-r1.ebuild:
x86 stable wrt bug #505846
08 Jun 2014; Chema Alonso <nimiux@gentoo.org> iasl-20130117-r1.ebuild:
Stable for amd64 wrt bug #505846
*iasl-20140325 (12 Apr 2014)
12 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> +iasl-20140325.ebuild:
Version bump.
26 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> iasl-20090123.ebuild,
+iasl-20121018.ebuild, iasl-20130117-r1.ebuild:
Re-added iasl-20121018 due to bug #505876. Fixed HOMEPAGE and SRC_URI in all
remaining ebuilds.
*iasl-20140214 (26 Mar 2014)
26 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> -iasl-20060912.ebuild,
-iasl-20080514.ebuild, -iasl-20080701.ebuild, -iasl-20090521.ebuild,
-iasl-20090903.ebuild, -iasl-20091013.ebuild, -iasl-20100428.ebuild,
-iasl-20100528.ebuild, -iasl-20110922.ebuild, -iasl-20111123.ebuild,
-iasl-20120816.ebuild, -iasl-20121018.ebuild, +iasl-20140214.ebuild,
-files/acpica-unix-20051216-buildfixup.patch,
-files/acpica-unix-20060512-buildfixup.patch,
-files/iasl-20100428-parallelmake.patch,
-files/iasl-20110922-as-needed.patch, -files/iasl-20110922-locale.patch,
-files/iasl-20110922-parallelmake-001.patch,
-files/iasl-20110922-parallelmake-002.patch,
-files/iasl-20110922-parallelmake-003.patch,
+files/iasl-20140214-locale.patch, +files/iasl-20140214-nostrip.patch,
-files/iasl-locale.patch, metadata.xml:
Version bump. Removed old. Added myself as maintainer.
*iasl-20130117-r1 (05 Mar 2013)
05 Mar 2013; Patrick Lauer <patrick@gentoo.org> +iasl-20130117-r1.ebuild,
-iasl-20130117.ebuild:
Fix BITS value to make things work on 32bit architectures too
*iasl-20130117 (31 Jan 2013)
*iasl-20121018 (31 Jan 2013)
31 Jan 2013; Patrick Lauer <patrick@gentoo.org> +iasl-20121018.ebuild,
+iasl-20130117.ebuild:
Bump for #437882
*iasl-20120816 (07 Sep 2012)
07 Sep 2012; Robin H. Johnson <robbat2@gentoo.org>
+files/iasl-20120816-locale.patch, +iasl-20120816.ebuild:
Bug #415693: version bump.
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> iasl-20111123.ebuild:
keyword ~amd64-fbsd
25 Dec 2011; Robin H. Johnson <robbat2@gentoo.org> iasl-20080514.ebuild,
iasl-20080701.ebuild, iasl-20090123.ebuild, iasl-20090521.ebuild,
iasl-20090903.ebuild, iasl-20091013.ebuild, iasl-20100428.ebuild,
iasl-20100528.ebuild, iasl-20110922.ebuild, iasl-20111123.ebuild:
Bug #288144: check both features and use for test, so we get the correct
result with FEATURES=-test USE=test.
*iasl-20111123 (11 Dec 2011)
11 Dec 2011; Robin H. Johnson <robbat2@gentoo.org> +iasl-20111123.ebuild:
Bug #394305: version bump.
07 Nov 2011; Robin H. Johnson <robbat2@gentoo.org> iasl-20110922.ebuild,
+files/iasl-20110922-parallelmake-003.patch:
Bug #389799: more parallel make problems.
*iasl-20110922 (07 Nov 2011)
07 Nov 2011; Robin H. Johnson <robbat2@gentoo.org> +iasl-20110922.ebuild,
+files/iasl-20110922-as-needed.patch, +files/iasl-20110922-locale.patch,
+files/iasl-20110922-parallelmake-001.patch,
+files/iasl-20110922-parallelmake-002.patch:
Version bump, bug #347019.
30 Sep 2011; Mike Frysinger <vapier@gentoo.org> iasl-20060912.ebuild,
iasl-20080514.ebuild, iasl-20080701.ebuild, iasl-20090123.ebuild,
iasl-20090521.ebuild, iasl-20090903.ebuild, iasl-20091013.ebuild,
iasl-20100428.ebuild, iasl-20100528.ebuild:
Drop die with edos2unix since it does it for us now.
*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)
04 May 2010; Robin H. Johnson <robbat2@gentoo.org> +iasl-20100428.ebuild,
+files/iasl-20100428-parallelmake.patch:
Bug #318217: Version bump.
*iasl-20091013 (23 Oct 2009)
23 Oct 2009; Robin H. Johnson <robbat2@gentoo.org> +iasl-20091013.ebuild:
Version bump.
07 Oct 2009; nixnut <nixnut@gentoo.org> iasl-20090123.ebuild:
ppc stable #271248
*iasl-20090903 (30 Sep 2009)
30 Sep 2009; Robin H. Johnson <robbat2@gentoo.org> +iasl-20090903.ebuild,
+files/iasl-locale.patch:
Version bump. Also fix bug #286499 for Turkish locales.
31 Jul 2009; Robin H. Johnson <robbat2@gentoo.org> iasl-20080514.ebuild,
iasl-20080701.ebuild, iasl-20090123.ebuild, iasl-20090521.ebuild:
Bug #278730.
29 May 2009; Steve Dibb <beandog@gentoo.org> iasl-20090123.ebuild:
amd64 stable, bug 271248
27 May 2009; Christian Faulhammer <fauli@gentoo.org> iasl-20090123.ebuild:
stable x86, bug 271248
*iasl-20090521 (26 May 2009)
26 May 2009; Robin H. Johnson <robbat2@gentoo.org> +iasl-20090521.ebuild:
Bug #270925: version bump.
03 Feb 2009; Diego E. Pettenò <flameeyes@gentoo.org>
iasl-20090123.ebuild:
Fix build with --as-needed, see bug #256521.
*iasl-20090123 (24 Jan 2009)
24 Jan 2009; Robin H. Johnson <robbat2@gentoo.org> +iasl-20090123.ebuild:
Version bump to resolve bug #246196 - bison 2.4 related compile failures.
09 Sep 2008; Robin H. Johnson <robbat2@gentoo.org>
+files/iasl-20080701-parallelmake.patch, iasl-20080701.ebuild:
Bug #236027, fix parallel make thanks to patch from flameeyes.
*iasl-20080701 (13 Jul 2008)
13 Jul 2008; Robin H. Johnson <robbat2@gentoo.org> +iasl-20080701.ebuild:
Version bump as the 20080514 version fails under KVM, per bug #231574.
07 Jun 2008; Robin H. Johnson <robbat2@gentoo.org> iasl-20080514.ebuild:
Per bug #224505, we need to check FEATURES in src_install, as ASLTDIR will
not be defined unless USE=test AND FEATURES=test.
26 May 2008; Robin H. Johnson <robbat2@gentoo.org> iasl-20060912.ebuild:
Overquoted ${S} causes epatch failure, undo it per bug #223619.
22 May 2008; Robin H. Johnson <robbat2@gentoo.org> -iasl-20050309.ebuild,
-iasl-20050513.ebuild, -iasl-20051216.ebuild, -iasl-20060127.ebuild,
-iasl-20060512.ebuild:
Remove old builds.
22 May 2008; Robin H. Johnson <robbat2@gentoo.org> iasl-20050309.ebuild,
iasl-20050513.ebuild, iasl-20051216.ebuild, iasl-20060127.ebuild,
iasl-20060512.ebuild, iasl-20060912.ebuild, iasl-20080514.ebuild:
Clean up ebuild syntax.
*iasl-20080514 (22 May 2008)
22 May 2008; Robin H. Johnson <robbat2@gentoo.org> +iasl-20080514.ebuild:
Bug #188006, version bump finally. Many thanks to Peter Alfredsen
<peter.alfredsen@gmail.com> for the ebuild handling the new upstream build
process.
21 May 2007; Roy Marples <uberlord@gentoo.org> iasl-20060912.ebuild:
Added ~x86-fbsd keyword.
22 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
iasl-20060912.ebuild:
ppc stable, bug #173876
09 Apr 2007; Raúl Porcel <armin76@gentoo.org> iasl-20060912.ebuild:
x86 stable wrt bug 173876
09 Apr 2007; Peter Weller <welp@gentoo.org> iasl-20060912.ebuild:
Stable on amd64 wrt bug 173876
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
*iasl-20060912 (14 Nov 2006)
14 Nov 2006; Robin H. Johnson <robbat2@gentoo.org> +iasl-20060912.ebuild:
Bug #150511, version bump.
*iasl-20060512 (29 May 2006)
29 May 2006; Robin H. Johnson <robbat2@gentoo.org>
+files/acpica-unix-20060512-buildfixup.patch, +iasl-20060512.ebuild:
Version bump, with new version of build cleanup patch.
*iasl-20060127 (20 Feb 2006)
20 Feb 2006; Robin H. Johnson <robbat2@gentoo.org> +iasl-20060127.ebuild:
Version bump for ACPI 3.0a support. Real fix for bug #122953 that caused
compiles to fail on flex-2.5.31 - none of the Debian weirdness of
downgrading flex.
*iasl-20051216 (27 Dec 2005)
27 Dec 2005; Robin H. Johnson <robbat2@gentoo.org>
+files/acpica-unix-20051216-buildfixup.patch, +iasl-20051216.ebuild:
Bug #116780, version bump. Also authored a patch to allow everything to
build properly so that we have all utilities, need to send upstream.
24 Nov 2005; Jory A. Pratt <anarchy@gentoo.org> iasl-20050513.ebuild:
added to ~amd64
18 Jun 2005; David Holm <dholm@gentoo.org> iasl-20050513.ebuild:
Added to ~ppc.
*iasl-20050513 (17 Jun 2005)
17 Jun 2005; <brix@gentoo.org> +iasl-20050513.ebuild:
Version bump.
13 May 2005; Robin H. Johnson <robbat2@gentoo.org> iasl-20050309.ebuild:
Bug #92504, not parallel make safe.
*iasl-20050309 (13 May 2005)
13 May 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
+iasl-20050309.ebuild:
Initial commit. Based on ebuild by Micheal <michi2k@web.de>, bug #52511.

View File

@ -1,2 +1,20 @@
DIST acpica-unix-20090123.tar.gz 926897 RMD160 a3079a3651f8320bf1411b95c4b46164a8da688b SHA1 423ae69b088ff63af7399fa2a3e9142dc9ae00a7 SHA256 497136355064aad9a1726f9f9ce9c6e60369ff30bceab0b4f155845b4a608250
DIST acpitests-unix-20090123.tar.gz 1880717 RMD160 a8aea45b2d5ec2050db4cb2d474c55ff14a196b1 SHA1 eccb018d4fad73be67a34ac0848b23be575518be SHA256 d46788816bf677601ad050280260db5f04ddd30f7e2b131e2fc4f26f256de290
AUX iasl-20080701-parallelmake.patch 1598 SHA256 77cbcd37bfd9c6804166d58faba53414ac3595ef4e81811915dbbd9a655dfdba SHA512 367cb683945c60bf42863ad76ffceba78a6a79c120997218d410bf4a7657b9b42ae5ae97f88b15075ee011dbebe68bfed2e3826203836280d21f476ab39c3078 WHIRLPOOL 8f98d3318b3c66162fc35687143d0eb3877ce456c7fd338683c2729d4a71371553f69da6242464ac78df94207e04ffaa153ba6cf72de893dd19f228d13926d6b
AUX iasl-20120816-locale.patch 503 SHA256 bac8c1139b67cc375e0d37bb26e9b5aeafe26f7958a1fde5f9a52be6c702c6a3 SHA512 88012cf788d3ceb319f75834c96a0dbad7cf3db20229616ed7cd19f04903561085086a81adc02eab99aba5d22e215373b5302edc77313e8684a3ec8d4f9ea3a7 WHIRLPOOL c00cf14407e27c45b432206afc9c7d8ed7df758a72c21b8b70d7874f49419f12b4fa7127d89cb50b7f67719019fa200f26846a14b0bf53a55c5dd0b160127117
AUX iasl-20140214-locale.patch 295 SHA256 479724a344d404e76cb052e845c493c84ae6af5b5dded49083affab297bc806a SHA512 9ce9fa130474b97ccb85acfbc5b999e7d5aba2d30d92c3c88137c8e9e2126eebdde777cbaea8d5f683bdbd7dc37c1e1cbe69526543d7069451c9870ffd6e2901 WHIRLPOOL c7335f5354d53ce5f8a6aa751d4ab971c322a4c0726625fd8d1f650ea90f65eaf211d760c913254df99fd7753efd33e00128ec5302fd32a8a6e918347f20b791
AUX iasl-20140214-nostrip.patch 253 SHA256 ee69d121651279e7c3238e72c4996316b2fc06e57ada2863cb7fdd12138f15db SHA512 1379fa71c03d880b53ed1ed34ec925d5e94fe6f636f86cfdbb5a1e65a1c6a82fb99a42b991be154c018da9eaaa70c7443fa4b5ca38eb03fe5cec4f0de1dd6364 WHIRLPOOL 0db963c9eb85c986a88d6beb258168baa578469fc59efbf6a37f77b611bec9fc0029fe3c10b7524fa692b5f3b24196fec0052d32bf694d14b393f8034a6750e8
AUX iasl-20140828-locale.patch 349 SHA256 5078278e4de1bf7f966d0f72967af5a14be7f460cab192f240785d35fadbf7c4 SHA512 311c20b7d5cdc7e3ce5e2a84e508eb898cd506efa720d1e4bb017ff0b34d786ffed30168b7dcf16b4bee988702d00258289e5e320e0a3bb3cf630a1a71145640 WHIRLPOOL 5c5fe379eec8c1e916ec1440a51e4e33e93af8740ada34c5252814e10991e4cbde39bd648e90ed66527df358d31ae03b5988ac46551cd0a4585b648339d4d25b
DIST acpica-unix-20121018.tar.gz 1272523 SHA256 e4008fb70ebe967994fe1caff84c2b16206011234e55fc4e849a11df76550c24 SHA512 32824579dccb9d5ba39a895a7905d746d61e2b0d19dcb215aba28e7d976e090d798af2361d474ee0b103a47776d00a6f44128a75a13b1bafb02e86364255523a WHIRLPOOL f56ff1c3f96349d0fe271bc66d84c87ba29d98f3313a9f4998b94b4db21510851a8cf2d839910181956b5ef1789a7b4abfdc5479db6e9dcc285716b574b9466c
DIST acpica-unix-20130117.tar.gz 1269197 SHA256 70c7e6a0a66e58e73efcc99cb37c2ec2bc20e386b49990105d6bda77e8d134fe SHA512 307789a2a153f2aa5fa3b76b1fef9fcf2cc8397ee50238ed7f7946e41f8e93e3115968c13dc376fd9e88ec8bd3268867c1840f01bef2fa05dc2d4136bea4e105 WHIRLPOOL 04b678889f0683c2ab80b592e35a338c3f5ed91e2fe802acdde79d762d8c67ab608c55258a30cf32ade4b2d0f6f9a0c908f5729421c5466124a5bb5949479f83
DIST acpica-unix-20140828.tar.gz 1423788 SHA256 37984860aac35a8d35c25c4e71f519fd3ea61f2405bb37ad64caeda4543e535a SHA512 ab4cb8ba74c5abf05913b6ef39955698f2bb5c243f723d660bd8f9c397fcf2a959d5ec10326a699c53e05319a428e721f1d65a07249574200af3227676725398 WHIRLPOOL 4e584be596ed10b39acf11613be706a374e84c4e42c9e82eda84649be9ed72f64065e286eefe3a40a6b376d9eef2ab0cd86e26935455ad78ecbde8a24ce1d970
DIST acpica-unix-20150717.tar.gz 1502551 SHA256 74c906a9b38cd0690d1bb2c53b432367bc6f7573d925b7b3b0b0c6124cf31a10 SHA512 5f5dce50c2133623f80b92a5d2130d8515a82d59eb572a7055217de277d52c4fb4b770e632ef9f8dc9db20c727b758c95d5a877546ad93c375d86016cb56e088 WHIRLPOOL 856983d0f485a6193030d85f879944f7bf625b2a06cdfccdff101d410b8f5d8f8c812adc6f89317004de35ba2f4337bd700f71b32e01914db5decd3dc2ca6fbc
DIST acpitests-unix-20121018.tar.gz 1978548 SHA256 67bfbbc9a818da1414a859412f9dd5f0ff1220c1dfdbe3116a3a748cc82c57ac SHA512 4c565b9c3af3122f5acfd802e6467124071f45987db0e5d5b9bf87a2d82e433cd6bd1b6faed71dbe6b01694c0f79b390f220515cf287519588ccae71ebafe798 WHIRLPOOL 8169bfdbdb33458d9f671ee935694eddc470e62e5837a7383c3430905e46ff6546e82c1f7e6d0b4dcee2293b1094ab79509c4985bd43f1d5e777c6818cd01532
DIST acpitests-unix-20130117.tar.gz 1979430 SHA256 917b4ad5b3c2b76cd1e503bffced340f8b62e74c25dcfcbb451d3b4f8832114e SHA512 310cb4bce80f1a9903f7c1317eeb30c7c0886a43a9d237e28cdefd8281a17a39cfaea972caad45a68d94e19a11ad95aef51fef23de8b8bc2771ae27cb7b924a6 WHIRLPOOL a0e7dfbed676710a0884d57564c392477fb168fb30ce488d58f93a03b9e237e61e43cd3821dee85faf72add0ff33d3b92c49a46c731ed86a2651100f2a4e192c
DIST acpitests-unix-20140828.tar.gz 2008060 SHA256 e576c74bf1bf1c9f7348bf9419e05c8acfece7105abcdc052e66670c7af2cf00 SHA512 7c3d36c9c1054a56f9b473cd0204062d7ac93b66e1f4d448575182ac3fb0a819506701306be406dd7b8385d37c6f77d7bc4dadc57f6743203ac1bee36a975be5 WHIRLPOOL d04f1cc65f3512dcba53440c295ba1dd740d337b1e3b5812c7c2717ac066408b18ff085b77db7d5dba6cb5055e2ba13dfb1323f28d7f7cae01bbc9fc34d5f09a
DIST acpitests-unix-20150717.tar.gz 2008493 SHA256 dd12ae7b6122caeab6a89f23764ac559555ce461857f08fcabc1ed2f447a5350 SHA512 46b8bead2e5fee307c3eb1ac9a008b5dc598e07d71d66865628aec0d957e724c295066625d291dec20ed6eb13212dd847973481e8ee5fa98eff5a1cd30523922 WHIRLPOOL ff9c4541addfcdbda499823c12e1482849b4a1a2051266157995fdb9da5f16a869edf84a173893daa4b44c13e7e6a1b087e77acc895f8805d63211c0597fda5f
EBUILD iasl-20121018.ebuild 3553 SHA256 d3933850faec25337c20ee96b4ee48161ec5b80968fb25d9c6eaee5d2169931f SHA512 8eab30fd13b6ba7d3842a039bcf2d0133dcf187710d5013cff0514131309003caebef32f66b4e3fc459ee0c19792e5daa30f761e6f07f0f204ac5c8699ff9a4a WHIRLPOOL 2b785017462c2fbfb044b459f0097e639fb44a66c73412592db6d10921875da63cafa8fd6c3eeb7c66c8650411c401bb6a344e5188bea7d1e368db0a4d5d1541
EBUILD iasl-20130117-r1.ebuild 3699 SHA256 5a69c367fca3306c0d03184fde5e70af92793ce7d0e851597af2021ccc32c225 SHA512 1d75fbba4b2944cad09de81dbd2169273dba2cf1812ba3b7a6375b4b1d28e8a538c569595a6c0ee43b2b1140ada07d85a9f937ce1898ac2462e2b84625f16b9a WHIRLPOOL a142228e77c8ada70072a24adbe3355c685c222c98008f6ea27ad378a732aa4769ca810a208b1bd255eaf42b4516d08e7b359680e896e8f8b6ce8e3370a42220
EBUILD iasl-20140828.ebuild 3368 SHA256 4c6831e525fc27f13934afa8bfd0071ba31fb94b6d06b1983dad45e94737499e SHA512 5c9cf478a102df6702d7c7ab8af5e626b30fdd3628e44cfe16a599d16a4d11ceeb67e12135f37c4914c2b8a7e04fc2fa98df1e601ed5da8ac059e2d5242984b1 WHIRLPOOL ca231a4481471f1fb95a6f35e2262efc6ffcabb8b4e0b9dcce5365f1e79ed31a59d7e426ce86c647101c97e8d665a4e9fe3967551187024f2bd7b0c528a86c1d
EBUILD iasl-20150717.ebuild 3371 SHA256 9697e48987d5c5f4fcb81cb24bf09d3e1a4ea536889c3827a9fd03eafc6d19ab SHA512 bf562f18b005040b444dbf0dced7e3e547e1683a410491202a64d3944d6555c54edde263fcf2838a2aa698a3e6a6d4fbee80f8f9e8e06f79ca1ea8d348b2bf20 WHIRLPOOL c386a41c89b633aded74b0fd23aaa465ad6f75505388dc8af33ac8b0ce2010c89c928700d62255c3ffc0b9a66a3c5c209a05f264755da7caed766107f2779cd9
MISC ChangeLog 2706 SHA256 32514623fdefc467c1c60fdb3735469e6ba7280568920ca1dcc9ccd031e9f7ea SHA512 e789e0bde002a30f8cb1d6bf857856ec5806ef418a40487d3b38d6cf3248413a0085dd6b66ee425f2911234adab13a628bb10e70610935ecaf894a241cebca67 WHIRLPOOL 959638a8adfb38709eb54c2c13169c3a21df65c4e1468047f24351c2a348a72bcbca85cba9cb6e519e2ca802123ef28ed59bfaa0ed36b5ea82bbc152df3f3144
MISC ChangeLog-2015 9444 SHA256 dbb6aec3cefbec3caad255d7c278893920fb355938dc7ec023af1b1cb631fee5 SHA512 33d7f25acf9c97042b0f60df7b4401867f5125293a800eba4098757b3438e0233f471ee1e5897c9ba2298bdab2f3711fc6b6344fd74ea7158c047292a75bf263 WHIRLPOOL d1eb192abffce94697676c7482e658e4f0cb7297a664e427452115fa070e5ab67a1e3114da0c3aa435dacf47f62410852ed1e07040edab2da09be98e5ee9e673
MISC metadata.xml 339 SHA256 7968aeca08ab4c39293ba759a9c38bd424aa5793afbec22cee888d9604157de1 SHA512 34d6a14b4bc2051d2a8d4356147c39c357f21f5e87ce7e258a81cadf10684a72a81fbe80ad46c0d808321c40cbd4e93dd0418cde01ae72d396e78fcfaa23297e WHIRLPOOL c9a7f5caf49cd2aab3087a95e80c17b1f80817d748c44745a3a8f88054f7606aae230ee30d70ad9d9114fd2f6f90cb6e151ba97fdd8be118eca992a4b011db21

View File

@ -0,0 +1,15 @@
diff -Nuar acpica-unix-20120816.orig/generate/unix/Makefile.config acpica-unix-20120816/generate/unix/Makefile.config
--- acpica-unix-20120816.orig/generate/unix/Makefile.config 2012-08-16 15:51:15.000000000 +0000
+++ acpica-unix-20120816/generate/unix/Makefile.config 2012-09-07 18:31:41.887229126 +0000
@@ -161,9 +161,9 @@
#YACC= byacc
#YFLAGS += -v -d
#
-YACC= bison
+YACC= LC_ALL=C bison
YFLAGS += -v -d -y
-LEX= flex
+LEX= LC_ALL=C flex
LFLAGS += -i -s

View File

@ -0,0 +1,14 @@
--- acpica-unix-20140214/generate/unix/Makefile.config
+++ acpica-unix-20140214/generate/unix/Makefile.config
@@ -211,9 +211,9 @@
#YACC= byacc
#YFLAGS +=
#
-YACC= bison
+YACC= LC_ALL=C bison
YFLAGS += -y
-LEX= flex
+LEX= LC_ALL=C flex
LFLAGS += -i -s

View File

@ -0,0 +1,11 @@
--- acpica-unix-20140214/generate/unix/Makefile.config
+++ acpica-unix-20140214/generate/unix/Makefile.config
@@ -52,7 +52,7 @@
INSTALLFLAGS ?= -f
else
INSTALL = install
-INSTALLFLAGS ?= -m 555 -s
+INSTALLFLAGS ?= -m 555
endif
INSTALLPROG = \

View File

@ -0,0 +1,17 @@
--- acpica-unix-20140828/generate/unix/Makefile.config
+++ acpica-unix-20140828/generate/unix/Makefile.config
@@ -225,12 +225,12 @@
#YACC= byacc
#YFLAGS +=
#
-YACC= bison
+YACC= LC_ALL=C bison
YFLAGS += -y
MACROPROC= m4
MFLAGS= -P -I$(ASL_COMPILER)
-LEX= flex
+LEX= LC_ALL=C flex
LFLAGS += -i -s

View File

@ -0,0 +1,124 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
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="https://www.acpica.org/downloads/"
SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz
test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )"
LICENSE="iASL"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="test"
DEPEND="sys-devel/bison
sys-devel/flex"
RDEPEND=""
S=${WORKDIR}/${MY_P}
pkg_setup() {
if use test && has test ${FEATURES}; 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_prepare() {
#epatch "${FILESDIR}/${PN}-20110922-as-needed.patch"
epatch "${FILESDIR}/${PN}-20120816-locale.patch"
# Upstream has changed the buildsystem a lot, not sure if these are still
# needed
#epatch "${FILESDIR}/${PN}-20120816-parallelmake-001.patch"
#epatch "${FILESDIR}/${PN}-20110922-parallelmake-002.patch"
#epatch "${FILESDIR}/${PN}-20110922-parallelmake-003.patch"
find "${S}" -type f -name 'Makefile*' -print0 | \
xargs -0 -I '{}' \
sed -r -e 's:-\<Werror\>::g' -i '{}' \
|| die
export BITS=64
}
src_configure() {
:
}
src_compile() {
cd acpica/generate/unix
emake BITS=${BITS}
}
src_test() {
aslts_test
#aapits_test
#The aapits test currently fails, missing include probably.
}
src_install() {
cd acpica/generate/unix
emake install DESTDIR="${D}" BITS=${BITS}
default_src_install
#local bin
#for bin in $(<"${T}"/binlist) ; do
# dobin "${T}"/${bin}
#done
dodoc "${S}"/changes.txt
newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt
newdoc "${S}"/generate/unix/readme.txt unix-readme.txt
newdoc "${S}"/generate/lint/readme.txt lint-readme.txt
newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt
if use test && has test ${FEATURES}; 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="${S}"/generate/unix/bin${BITS}/iasl \
acpiexec="${S}"/generate/unix/bin${BITS}/acpiexec \
ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts
export PATH="${PATH}:${ASLTSDIR}/bin"
echo "$ASLTSDIR" >"${T}"/asltdir
cd "${ASLTSDIR}"
edos2unix $(find . -type 'f')
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')
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"
}

View File

@ -0,0 +1,129 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
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="https://www.acpica.org/downloads/"
SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz
test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )"
LICENSE="iASL"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="test"
DEPEND="sys-devel/bison
sys-devel/flex"
RDEPEND=""
S=${WORKDIR}/${MY_P}
pkg_setup() {
if use test && has test ${FEATURES}; 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_prepare() {
#epatch "${FILESDIR}/${PN}-20110922-as-needed.patch"
epatch "${FILESDIR}/${PN}-20120816-locale.patch"
# Upstream has changed the buildsystem a lot, not sure if these are still
# needed
#epatch "${FILESDIR}/${PN}-20120816-parallelmake-001.patch"
#epatch "${FILESDIR}/${PN}-20110922-parallelmake-002.patch"
#epatch "${FILESDIR}/${PN}-20110922-parallelmake-003.patch"
find "${S}" -type f -name 'Makefile*' -print0 | \
xargs -0 -I '{}' \
sed -r -e 's:-\<Werror\>::g' -i '{}' \
|| die
# BITS is tied to ARCH - please set appropriately if you add new keywords
if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then
export BITS=64
else
export BITS=32
fi
}
src_configure() {
:
}
src_compile() {
cd acpica/generate/unix
emake BITS=${BITS}
}
src_test() {
aslts_test
#aapits_test
#The aapits test currently fails, missing include probably.
}
src_install() {
cd acpica/generate/unix
emake install DESTDIR="${D}" BITS=${BITS}
default_src_install
#local bin
#for bin in $(<"${T}"/binlist) ; do
# dobin "${T}"/${bin}
#done
dodoc "${S}"/changes.txt
newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt
newdoc "${S}"/generate/unix/readme.txt unix-readme.txt
newdoc "${S}"/generate/lint/readme.txt lint-readme.txt
newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt
if use test && has test ${FEATURES}; 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="${S}"/generate/unix/bin${BITS}/iasl \
acpiexec="${S}"/generate/unix/bin${BITS}/acpiexec \
ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts
export PATH="${PATH}:${ASLTSDIR}/bin"
echo "$ASLTSDIR" >"${T}"/asltdir
cd "${ASLTSDIR}"
edos2unix $(find . -type 'f')
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')
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"
}

View File

@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20090123.ebuild,v 1.6 2009/10/07 16:15:23 nixnut Exp $
# $Id$
EAPI=5
inherit toolchain-funcs flag-o-matic eutils
@ -8,25 +10,23 @@ 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 )"
HOMEPAGE="https://www.acpica.org/downloads/"
SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz
test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )"
LICENSE="iASL"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
KEYWORDS="amd64 ppc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="test"
DEPEND="sys-devel/bison
sys-devel/flex"
RDEPEND=""
S=${WORKDIR}/${MY_P}
pkg_setup() {
if use test
then
if use test && has test ${FEATURES}; 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'
@ -35,40 +35,30 @@ pkg_setup() {
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/iasl-20080701-parallelmake.patch
src_prepare() {
epatch "${FILESDIR}/${PN}-20140828-locale.patch" \
"${FILESDIR}/${PN}-20140214-nostrip.patch"
sed -i -e 's:LDFLAGS=:LDLIBS+=:' \
"${S}"/compiler/Makefile || die "unable to fix compiler Makefile"
find "${S}" -type f -name 'Makefile*' -print0 | \
xargs -0 -I '{}' \
sed -r -e 's:-\<Werror\>::g' -i '{}' \
|| die
# BITS is tied to ARCH - please set appropriately if you add new keywords
if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then
export BITS=64
else
export BITS=32
fi
}
src_configure() {
:
}
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)"
cd acpica/generate/unix
emake BITS=${BITS}
}
src_test() {
@ -78,12 +68,20 @@ src_test() {
}
src_install() {
local bin
for bin in $(<"${T}"/binlist) ; do
dobin "${T}"/${bin}
done
dodoc README changes.txt
if use test ; then
cd acpica/generate/unix
emake install DESTDIR="${D}" BITS=${BITS}
default_src_install
#local bin
#for bin in $(<"${T}"/binlist) ; do
# dobin "${T}"/${bin}
#done
dodoc "${S}"/changes.txt
newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt
newdoc "${S}"/generate/unix/readme.txt unix-readme.txt
newdoc "${S}"/generate/lint/readme.txt lint-readme.txt
newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt
if use test && has test ${FEATURES}; then
tb="${T}"/testresults.tar.bz2
export ASLTSDIR="$(<"${T}"/asltdir)"
ebegin "Creating Test Tarball"
@ -91,21 +89,21 @@ src_install() {
eend $?
dodir /usr/share/${PF}
insinto /usr/share/${PF}
doins ${tb} || die "doins testresults.tar.bz2 failed"
doins ${tb}
fi
}
aslts_test() {
export ASL="${T}"/iasl \
acpiexec="${T}"/acpiexec \
export ASL="${S}"/generate/unix/bin/iasl \
acpiexec="${S}"/generate/unix/bin/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"
edos2unix $(find . -type 'f')
make install || die "make install aslts test failed"
chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x 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.
@ -116,7 +114,7 @@ aslts_test() {
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"
edos2unix $(find . -type 'f')
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"

View File

@ -0,0 +1,124 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
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="https://www.acpica.org/downloads/"
SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz
test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )"
LICENSE="iASL"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="test"
DEPEND="sys-devel/bison
sys-devel/flex"
RDEPEND=""
S=${WORKDIR}/${MY_P}
pkg_setup() {
if use test && has test ${FEATURES}; 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_prepare() {
epatch "${FILESDIR}/${PN}-20140828-locale.patch" \
"${FILESDIR}/${PN}-20140214-nostrip.patch"
find "${S}" -type f -name 'Makefile*' -print0 | \
xargs -0 -I '{}' \
sed -r -e 's:-\<Werror\>::g' -i '{}' \
|| die
# BITS is tied to ARCH - please set appropriately if you add new keywords
if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then
export BITS=64
else
export BITS=32
fi
}
src_configure() {
:
}
src_compile() {
cd acpica/generate/unix
emake BITS=${BITS}
}
src_test() {
aslts_test
#aapits_test
#The aapits test currently fails, missing include probably.
}
src_install() {
cd acpica/generate/unix
emake install DESTDIR="${D}" BITS=${BITS}
default_src_install
#local bin
#for bin in $(<"${T}"/binlist) ; do
# dobin "${T}"/${bin}
#done
dodoc "${S}"/changes.txt
newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt
newdoc "${S}"/generate/unix/readme.txt unix-readme.txt
newdoc "${S}"/generate/lint/readme.txt lint-readme.txt
newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt
if use test && has test ${FEATURES}; 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}
fi
}
aslts_test() {
export ASL="${S}"/generate/unix/bin/iasl \
acpiexec="${S}"/generate/unix/bin/acpiexec \
ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts
export PATH="${PATH}:${ASLTSDIR}/bin"
echo "$ASLTSDIR" >"${T}"/asltdir
cd "${ASLTSDIR}"
edos2unix $(find . -type 'f')
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')
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"
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>robbat2@gentoo.org</email>
</maintainer>
<maintainer type="person">
<email>polynomial-c@gentoo.org</email>
<name>Lars Wendler</name>
</maintainer>
</pkgmetadata>