From 0ab291164b67c2c01cf0b8507f1ae4107eb8c398 Mon Sep 17 00:00:00 2001 From: Joseph Jezak Date: Wed, 5 Oct 2005 17:46:10 +0000 Subject: New version, forced -O1 to fix lockup issue reported in the forums, thanks HighOnBonsai. Package-Manager: portage-2.0.52-r1 --- app-laptop/pbbuttonsd/ChangeLog | 8 ++- app-laptop/pbbuttonsd/Manifest | 16 ++++- .../pbbuttonsd/files/digest-pbbuttonsd-0.7.2 | 1 + app-laptop/pbbuttonsd/pbbuttonsd-0.7.2.ebuild | 68 ++++++++++++++++++++++ 4 files changed, 90 insertions(+), 3 deletions(-) create mode 100644 app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.7.2 create mode 100644 app-laptop/pbbuttonsd/pbbuttonsd-0.7.2.ebuild (limited to 'app-laptop/pbbuttonsd') diff --git a/app-laptop/pbbuttonsd/ChangeLog b/app-laptop/pbbuttonsd/ChangeLog index 489960fcc7c4..ea923536dfe7 100644 --- a/app-laptop/pbbuttonsd/ChangeLog +++ b/app-laptop/pbbuttonsd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-laptop/pbbuttonsd # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.34 2005/09/25 15:34:57 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.35 2005/10/05 17:46:10 josejx Exp $ + +*pbbuttonsd-0.7.2 (05 Oct 2005) + + 05 Oct 2005; Joseph Jezak +pbbuttonsd-0.7.2.ebuild: + New version, forced -O1 to fix lockup issue reported in the forums, thanks + HighOnBonsai. 25 Sep 2005; Luca Barbato files/pbbuttonsd.rc6: Minor fix to support parallel init diff --git a/app-laptop/pbbuttonsd/Manifest b/app-laptop/pbbuttonsd/Manifest index 478415076f0b..05e1a8f82258 100644 --- a/app-laptop/pbbuttonsd/Manifest +++ b/app-laptop/pbbuttonsd/Manifest @@ -1,7 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 f355fae15ad39da1e7900532ea12873b ChangeLog 9521 MD5 7b9b4d9f5e7b4fde48b4597c4ba8cf06 pbbuttonsd-0.6.6.ebuild 1140 -MD5 bd51d9aa7f1c2f34debf41dce4cf5e38 ChangeLog 9321 MD5 52f9d8e98c8931645c57a3de1c36727d metadata.xml 156 +MD5 ddd469d5e866022e8836d4e3ac995fb1 pbbuttonsd-0.7.2.ebuild 1831 MD5 2430cccf9363cdd529dcef6d66112317 pbbuttonsd-0.7.1.ebuild 1764 MD5 bfeca35f0f0f5c946cec186998f304e2 files/pbbuttonsd.rc6 472 -MD5 72caa2adac6c8260c57c0ae15cc259f3 files/digest-pbbuttonsd-0.6.6 68 +MD5 d0c2afca8a18bbfdc406106d85d30193 files/digest-pbbuttonsd-0.7.2 68 MD5 0d5e37ab33c0a4177affbe953a76f8f3 files/digest-pbbuttonsd-0.7.1 68 +MD5 72caa2adac6c8260c57c0ae15cc259f3 files/digest-pbbuttonsd-0.6.6 68 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDRBF9csIHjyDViGQRAjB+AKC9iUmGWdi69W2rQe7md3TMWT8zKwCcCX7Y +y3QiGpSFW2Id3RhlWt9ZRpw= +=EnFV +-----END PGP SIGNATURE----- diff --git a/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.7.2 b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.7.2 new file mode 100644 index 000000000000..ee6f96d02eb7 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.7.2 @@ -0,0 +1 @@ +MD5 22b4fba5874452f12a3fee01d7b16710 pbbuttonsd-0.7.2.tar.gz 403797 diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.7.2.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.7.2.ebuild new file mode 100644 index 000000000000..55439b2defa3 --- /dev/null +++ b/app-laptop/pbbuttonsd/pbbuttonsd-0.7.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.7.2.ebuild,v 1.1 2005/10/05 17:46:10 josejx Exp $ + +inherit eutils linux-info flag-o-matic + +DESCRIPTION="program to map special Powerbook/iBook keys" +HOMEPAGE="http://pbbuttons.sf.net" +SRC_URI="mirror://sourceforge/pbbuttons/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="acpi debug" + +DEPEND="virtual/libc + >=sys-apps/baselayout-1.8.6.12-r1" +RDEPEND="" + +src_compile() { + # Fix crash bug on some systems + replace-flags -O? -O1 + + if ! linux_chkconfig_present INPUT_EVDEV ; then + eerror "Please enable CONFIG_INPUT_EVDEV in your kernel" + eerror "pbbuttonsd will not work without it." + die "Kernel not compiled with CONFIG_INPUT_EVDEV support" + fi + + if use x86; then + if use acpi; then + laptop=acpi + else + laptop=i386 + fi + else + laptop=powerbook + fi + + econf laptop=$laptop \ + $(use_enable debug) || die "Sorry, failed to configure pbbuttonsd" + emake || die "Sorry, failed to compile pbbuttonsd" +} + +src_install() { + dodir /etc/power + make DESTDIR=${D} install || die "failed to install" + exeinto /etc/init.d + newexe ${FILESDIR}/pbbuttonsd.rc6 pbbuttonsd + dodoc README +} + +pkg_postinst() { + if linux_chkconfig_module INPUT_EVDEV ; then + ewarn "Ensure that the evdev kernel module is loaded otherwise" + ewarn "pbbuttonsd won't work." + fi + + if use ppc; then + einfo + einfo "This version of pbbuttonsd can replace PMUD functionality." + einfo "If you want PMUD installed and running, you should set" + einfo "replace_pmud=no in /etc/pbbuttonsd.conf. Otherwise you can" + einfo "try setting replace_pmud=yes in /etc/pbbuttonsd.conf and" + einfo "disabling PMUD" + ewarn "Warning: the NoTapTyping option is unstable, see bug #86768." + fi +} -- cgit v1.2.3-65-gdbad