polynomial-c    14/03/26 07:48:25

  Modified:             metadata.xml ChangeLog
  Added:                iasl-20140214.ebuild
  Removed:              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
  Log:
  Version bump. Removed old. Added myself as maintainer
  
  (Portage version: 2.2.9-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x981CA6FC)

Revision  Changes    Path
1.4                  sys-power/iasl/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/metadata.xml?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/metadata.xml?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/metadata.xml?r1=1.3&r2=1.4

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/iasl/metadata.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- metadata.xml        24 Sep 2011 10:43:15 -0000      1.3
+++ metadata.xml        26 Mar 2014 07:48:25 -0000      1.4
@@ -1,7 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer>
-  <email>[email protected]</email>
-</maintainer>
+    <maintainer>
+       <email>[email protected]</email>
+    </maintainer>
+    <maintainer>
+       <email>[email protected]</email>
+       <name>Lars Wendler</name>
+    </maintainer>
 </pkgmetadata>



1.42                 sys-power/iasl/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/ChangeLog?rev=1.42&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/ChangeLog?rev=1.42&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/ChangeLog?r1=1.41&r2=1.42

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- ChangeLog   5 Mar 2013 04:36:19 -0000       1.41
+++ ChangeLog   26 Mar 2014 07:48:25 -0000      1.42
@@ -1,6 +1,24 @@
 # ChangeLog for sys-power/iasl
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.41 2013/03/05 
04:36:19 patrick Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.42 2014/03/26 
07:48:25 polynomial-c Exp $
+
+*iasl-20140214 (26 Mar 2014)
+
+  26 Mar 2014; Lars Wendler <[email protected]> -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)
 



1.1                  sys-power/iasl/iasl-20140214.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/iasl-20140214.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/iasl/iasl-20140214.ebuild?rev=1.1&content-type=text/plain

Index: iasl-20140214.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20140214.ebuild,v 1.1 
2014/03/26 07:48:25 polynomial-c Exp $

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}-20140214-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"
}




Reply via email to