New version, forced -O1 to fix lockup issue reported in the forums, thanks HighOnBonsai.
authorJoseph Jezak <josejx@gentoo.org>
Wed, 5 Oct 2005 17:46:10 +0000 (17:46 +0000)
committerJoseph Jezak <josejx@gentoo.org>
Wed, 5 Oct 2005 17:46:10 +0000 (17:46 +0000)
Package-Manager: portage-2.0.52-r1

app-laptop/pbbuttonsd/ChangeLog
app-laptop/pbbuttonsd/Manifest
app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.7.2 [new file with mode: 0644]
app-laptop/pbbuttonsd/pbbuttonsd-0.7.2.ebuild [new file with mode: 0644]

index 489960fcc7c4b5cc70655f8d5f6d65eae4ea87d0..ea923536dfe7fb5ad3365bb4b6f99eb795aa032d 100644 (file)
@@ -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 <josejx@gentoo.org> +pbbuttonsd-0.7.2.ebuild:
+  New version, forced -O1 to fix lockup issue reported in the forums, thanks
+  HighOnBonsai.
 
   25 Sep 2005; Luca Barbato <lu_zero@gentoo.org> files/pbbuttonsd.rc6:
   Minor fix to support parallel init
index 478415076f0ba4f0bac9167f22014a9e736dd005..05e1a8f822582eb824e96506bea8321f4b4988d2 100644 (file)
@@ -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 (file)
index 0000000..ee6f96d
--- /dev/null
@@ -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 (file)
index 0000000..55439b2
--- /dev/null
@@ -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
+}