Acpi4asus and Kernel 2.6.20

Discuss all artwork and development - Suggestions needed

Moderator: Moderators

Acpi4asus and Kernel 2.6.20

Postby Appleman1234 » Fri May 04, 2007 16:03

As Sabayon uses at least 2.6.20 as default, would it be possible to add acpi4asus cvs ebuild to the Sabayon overlay or make a CVS snapshot with matching ebuild and use that ?

In my humble opinion , that would be alot more useful then the !!! kernel 2.6.20 and later not yet supported in this release, feel free to provide a patch to change that :) message.

Attached is a CVS ebuild from http://forums.gentoo.org/viewtopic-t-553835.html
Code: Select all
Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header$

inherit cvs linux-mod eutils

DESCRIPTION="Acpi daemon and kernel module to control ASUS Laptop Hotkeys"
HOMEPAGE="http://sourceforge.net/projects/acpi4asus"
#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
MODULE_NAMES="asus-laptop(acpi:${S}/driver)"
BUILD_TARGETS=" "
RDEPEND="sys-power/acpid"

ECVS_SERVER="acpi4asus.cvs.sourceforge.net:/cvsroot/acpi4asus"
ECVS_MODULE="acpi4asus"
#ECVS_BRANCH=""
ECVS_LOCALNAME=${P}
#ECVS_CO_DATE=${PV##*alpha}
#ECVS_UP_OPTS="-D ${ECVS_CO_DATE} -dP"
#ECVS_CO_OPTS="-D ${ECVS_CO_DATE}"

pkg_setup() {
        linux-mod_pkg_setup
        BUILD_PARAMS="KDIR=${KV_DIR}"
}

src_unpack() {
        cvs_src_unpack ${A}
}

S=${WORKDIR}/${ECVS_LOCALNAME}

src_compile() {
        linux-mod_src_compile
        emake -C asus_acpid
}


src_install() {
        linux-mod_src_install

        dobin asus_acpid/asus_acpid
        doman asus_acpid/asus_acpid.8

        dodoc README Changelog

        dodir /usr/share/${PN}/samples

        dodir /usr/share/${PN}/samples/actions
        insinto /usr/share/${PN}/samples/actions
        doins samples/actions/*.sh

        dodir /usr/share/${PN}/samples/events
        insinto /usr/share/${PN}/samples/events
        doins samples/events/*
}

pkg_postinst() {
        linux-mod_pkg_postinst
        einfo
        einfo "Don't forget to create your ~/.asus_acpi,"
        einfo "see /usr/share/doc/${PF}/README.gz for details"
        einfo
}


Thanks[/quote]
Image
Appleman1234
Old Dear Hen
 
Posts: 964
Joined: Mon Nov 27, 2006 9:48
Location: Land Down Under / Australia

Postby Dark_MaGe » Fri May 04, 2007 21:35

Hi Apple send an email to the beta with the diff as soon as lxnay sees that will fix
Image
Dark_MaGe
Your Farmer
 
Posts: 1699
Joined: Thu Jun 29, 2006 8:19
Location: Catania Italy


Return to Artwork and Development Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron