diff options
author | Joseph Jezak <josejx@gentoo.org> | 2007-07-19 01:39:04 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2007-07-19 01:39:04 +0000 |
commit | d3afde3b42bb3b81d61593368e4ef647107990ba (patch) | |
tree | 7ba4f8d074ae319066e654cace12e4a07942f38d /app-laptop/pbbuttonsd | |
parent | Version bump, upstream provides versioned downloads now. (diff) | |
download | historical-d3afde3b42bb3b81d61593368e4ef647107990ba.tar.gz historical-d3afde3b42bb3b81d61593368e4ef647107990ba.tar.bz2 historical-d3afde3b42bb3b81d61593368e4ef647107990ba.zip |
Added patch to remove hdparm settings for bug #185341.
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'app-laptop/pbbuttonsd')
-rw-r--r-- | app-laptop/pbbuttonsd/ChangeLog | 8 | ||||
-rw-r--r-- | app-laptop/pbbuttonsd/Manifest | 25 | ||||
-rw-r--r-- | app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.8.1-r1 | 3 | ||||
-rw-r--r-- | app-laptop/pbbuttonsd/files/pmcs.patch | 21 | ||||
-rw-r--r-- | app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild | 101 |
5 files changed, 150 insertions, 8 deletions
diff --git a/app-laptop/pbbuttonsd/ChangeLog b/app-laptop/pbbuttonsd/ChangeLog index 0ff311a1675e..a29cc9ff7fa2 100644 --- a/app-laptop/pbbuttonsd/ChangeLog +++ b/app-laptop/pbbuttonsd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-laptop/pbbuttonsd # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.68 2007/07/07 23:40:18 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.69 2007/07/19 01:39:04 josejx Exp $ + +*pbbuttonsd-0.8.1-r1 (19 Jul 2007) + + 19 Jul 2007; Joseph Jezak <josejx@gentoo.org> +files/pmcs.patch, + +pbbuttonsd-0.8.1-r1.ebuild: + Added patch to remove hdparm settings for bug #185341. *pbbuttonsd-0.8.1 (07 Jul 2007) diff --git a/app-laptop/pbbuttonsd/Manifest b/app-laptop/pbbuttonsd/Manifest index fbf866fa1bc4..73670be79a2f 100644 --- a/app-laptop/pbbuttonsd/Manifest +++ b/app-laptop/pbbuttonsd/Manifest @@ -17,6 +17,10 @@ AUX pbbuttonsd.rc6 472 RMD160 6a531760a39c74e822f33d27866142a5fae1562d SHA1 b92c MD5 bfeca35f0f0f5c946cec186998f304e2 files/pbbuttonsd.rc6 472 RMD160 6a531760a39c74e822f33d27866142a5fae1562d files/pbbuttonsd.rc6 472 SHA256 a6cde254b56d760af00909772e3dee69b307802b72156b52dce9517ee3d6ecc8 files/pbbuttonsd.rc6 472 +AUX pmcs.patch 764 RMD160 1336291d7ffac4e1b675baa8a50142a2e90c15c4 SHA1 b2d95406cf89eed58ddfa59a7a0e3b933ed957e2 SHA256 4bf4e711838636bfde3688d8574374dde746639352d533c9bbb532cbd62827f8 +MD5 81c65dfd8288b09223253883c7f39d44 files/pmcs.patch 764 +RMD160 1336291d7ffac4e1b675baa8a50142a2e90c15c4 files/pmcs.patch 764 +SHA256 4bf4e711838636bfde3688d8574374dde746639352d533c9bbb532cbd62827f8 files/pmcs.patch 764 AUX x86-fix.patch 861 RMD160 79c7a5c7e8550ceee622624fe671a933f6cc1783 SHA1 98eb056c2e518d999d285b9be55f1d3b232c5bf4 SHA256 3b8cfff30485bb34346d586c5d4a509cf2d3fdf4aa1b88254f9fe57a7ccfa21b MD5 2635799a453301c0b324e770ee22f02f files/x86-fix.patch 861 RMD160 79c7a5c7e8550ceee622624fe671a933f6cc1783 files/x86-fix.patch 861 @@ -47,14 +51,18 @@ EBUILD pbbuttonsd-0.8.0.ebuild 2688 RMD160 c080dfa6a21e9ea3aa48c31eaf357b6417799 MD5 64a5f241db6c5ae44d3128cf5259c16e pbbuttonsd-0.8.0.ebuild 2688 RMD160 c080dfa6a21e9ea3aa48c31eaf357b6417799442 pbbuttonsd-0.8.0.ebuild 2688 SHA256 062b64ea1f269f07fad74360bd2370a31309bffced592dfdec0228adcbe45b93 pbbuttonsd-0.8.0.ebuild 2688 +EBUILD pbbuttonsd-0.8.1-r1.ebuild 2730 RMD160 ce607540baeeba9df9cd33193edc2e90784d1b3e SHA1 db36f0c3c9e3f12a2971a75cf93bb6dc732a87fd SHA256 6497c6543bad8dfe0102f1b4279f4382e3bf70587229c6ba645ad44ea62584e5 +MD5 fa4ce0b9360e2272f12917fc4f28c906 pbbuttonsd-0.8.1-r1.ebuild 2730 +RMD160 ce607540baeeba9df9cd33193edc2e90784d1b3e pbbuttonsd-0.8.1-r1.ebuild 2730 +SHA256 6497c6543bad8dfe0102f1b4279f4382e3bf70587229c6ba645ad44ea62584e5 pbbuttonsd-0.8.1-r1.ebuild 2730 EBUILD pbbuttonsd-0.8.1.ebuild 2688 RMD160 25dca02f344101b3d8cb3200742997910dfc9f04 SHA1 9d20fdd92c651c6829647ff03c0ac5e8706a950b SHA256 7e1036dd6179013b30e97ab14dba6baefd9386488815fa0dad3f94ea68a63ae0 MD5 8dcbaefadd63f3a333d5dc2e572565dd pbbuttonsd-0.8.1.ebuild 2688 RMD160 25dca02f344101b3d8cb3200742997910dfc9f04 pbbuttonsd-0.8.1.ebuild 2688 SHA256 7e1036dd6179013b30e97ab14dba6baefd9386488815fa0dad3f94ea68a63ae0 pbbuttonsd-0.8.1.ebuild 2688 -MISC ChangeLog 14874 RMD160 76222cd3e165ec91c96cb71fbc841a799e947536 SHA1 eb7edfd2c03cf851cb35b9e6e1a19a2be5f3e656 SHA256 e28dd50a07a76816441867a0f5e124868ee3db941313c82e50b250f303be03fc -MD5 af26637b9c4319633cca28400cfb74be ChangeLog 14874 -RMD160 76222cd3e165ec91c96cb71fbc841a799e947536 ChangeLog 14874 -SHA256 e28dd50a07a76816441867a0f5e124868ee3db941313c82e50b250f303be03fc ChangeLog 14874 +MISC ChangeLog 15066 RMD160 058b213df35f088ce55f63cd4516587cf98b72b3 SHA1 bf5c7422e882a9901b309d6dc8f6d3b6d753af40 SHA256 02fde0f5878f4e55432fd7dda0cd7cefcf1cad3310256abdbe9128de92ea5655 +MD5 3594888a22eb9460e133d18d9a8d734d ChangeLog 15066 +RMD160 058b213df35f088ce55f63cd4516587cf98b72b3 ChangeLog 15066 +SHA256 02fde0f5878f4e55432fd7dda0cd7cefcf1cad3310256abdbe9128de92ea5655 ChangeLog 15066 MISC metadata.xml 156 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 SHA1 30b3e2b32ee2b52b68ad1d77f04f2c75980bf7d4 SHA256 d57f79be439079b5c78578b17eb3ee7d20883353b1c40a716d3f1ab06af34851 MD5 52f9d8e98c8931645c57a3de1c36727d metadata.xml 156 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 metadata.xml 156 @@ -77,10 +85,13 @@ SHA256 29d1bd06a605535c56639a19e4ab978b287a383b3d7d01ac0028acb485f55823 files/di MD5 2584754464c330e7f895735782448d8d files/digest-pbbuttonsd-0.8.1 250 RMD160 a1199d64a7d6569ccf605686ce2997da9741c449 files/digest-pbbuttonsd-0.8.1 250 SHA256 a54a1ab859007373e46ffda6464d608db118367aa4f69d1ccbb98f1750ca7f9a files/digest-pbbuttonsd-0.8.1 250 +MD5 2584754464c330e7f895735782448d8d files/digest-pbbuttonsd-0.8.1-r1 250 +RMD160 a1199d64a7d6569ccf605686ce2997da9741c449 files/digest-pbbuttonsd-0.8.1-r1 250 +SHA256 a54a1ab859007373e46ffda6464d608db118367aa4f69d1ccbb98f1750ca7f9a files/digest-pbbuttonsd-0.8.1-r1 250 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGkCRpcsIHjyDViGQRAvlKAKCxa+67gs7OaDqoKQS7t0zlCpiD7wCguZ/s -Efm7Uo6f4aTanWcpajDlfIM= -=Nk/u +iD8DBQFGnsC7csIHjyDViGQRAsM3AKCCDBijJ8aBvpSg7QtYnPntX2PGPACgq4VV +zHUHbSYccjBCYbzwK5xJlBE= +=Tnrz -----END PGP SIGNATURE----- diff --git a/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.8.1-r1 b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.8.1-r1 new file mode 100644 index 000000000000..68208022e6dc --- /dev/null +++ b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.8.1-r1 @@ -0,0 +1,3 @@ +MD5 5addde05fe291bee974443b531a3a3e5 pbbuttonsd-0.8.1.tar.gz 589630 +RMD160 2f1dc0bc8b67cbb310f06df932a5dfcf26d35551 pbbuttonsd-0.8.1.tar.gz 589630 +SHA256 b391fd98ed263f355d7e7addc6566959e986627c87dcfdaa1da15310ad70bffa pbbuttonsd-0.8.1.tar.gz 589630 diff --git a/app-laptop/pbbuttonsd/files/pmcs.patch b/app-laptop/pbbuttonsd/files/pmcs.patch new file mode 100644 index 000000000000..21dd23831a36 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/pmcs.patch @@ -0,0 +1,21 @@ +--- scripts/pmcs-config.bak 2007-07-07 13:52:25.000000000 -0400 ++++ scripts/pmcs-config 2007-07-18 21:29:27.000000000 -0400 +@@ -11,15 +11,15 @@ + + # Section for power policy 'performance' + performance_HDTimeOff=0 # hdsetup - timeout in seconds +-performance_HDOptions="-p" # hdsetup ++performance_HDOptions="" # hdsetup + performance_LaptopMode="stop" # bdflush + + # Section for power policy 'custom' + custom_HDTimeOff=60 # hdsetup - timeout in seconds +-custom_HDOptions="-p" # hdsetup ++custom_HDOptions="" # hdsetup + custom_LaptopMode="start" # bdflush + + # Section for power policy 'powersave' + powersave_HDTimeOff=60 # hdsetup - timeout in seconds +-powersave_HDOptions="-p" # hdsetup ++powersave_HDOptions="" # hdsetup + powersave_LaptopMode="start" # bdflush diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild new file mode 100644 index 000000000000..a1c9185a6791 --- /dev/null +++ b/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r1.ebuild,v 1.1 2007/07/19 01:39:04 josejx Exp $ + +inherit autotools flag-o-matic eutils + +DESCRIPTION="Handles power management and special keys on laptops." +HOMEPAGE="http://pbbuttons.berlios.de" +SRC_URI="mirror://sourceforge/pbbuttons/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="acpi alsa debug doc ibam macbook oss" + +DEPEND="macbook? ( sys-libs/libsmbios ) + >=dev-libs/glib-2.6 + doc? ( app-doc/doxygen )" +RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0 ) + >=dev-libs/glib-2.6" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/pmcs.patch + eautoconf +} + +src_compile() { + # Fix crash bug on some systems + replace-flags -O? -O1 + + if use macbook; then + laptop=macbook + elif use x86 || use amd64; then + if use acpi; then + laptop=acpi + else + laptop=i386 + fi + # Default to PowerBook + else + laptop=powerbook + fi + + econf laptop=$laptop \ + $(use_enable debug) \ + $(use_with doc doxygen_docs) \ + $(use_with alsa) \ + $(use_with oss) \ + $(use_with ibam) \ + || die "Sorry, failed to configure pbbuttonsd" + + # Thanks to Stefan Bruda for this workaround + # Using -j1 fixes a parallel build issue with the docs + if use doc; then + emake -j1 || die "Sorry, failed to compile pbbuttonsd" + else + emake || die "Sorry, failed to compile pbbuttonsd" + fi +} + +src_install() { + dodir /etc/power + use ibam && dodir /var/lib/ibam + make DESTDIR=${D} install || die "failed to install" + newinitd ${FILESDIR}/pbbuttonsd.rc6 pbbuttonsd + dodoc README + use doc && dohtml -r doc/* +} + +pkg_postinst() { + if [ -e /etc/pbbuttonsd.conf ]; then + ewarn "The pbbuttonsd.cnf file replaces /etc/pbuttonsd.conf with a new" + ewarn "file (/etc/pbbuttonsd.conf) and a new format. Please check the" + ewarn "manual page with 'man pbbuttonsd.cnf' for details." + ewarn + fi + + if use macbook; then + ewarn "Macbook and Macbook Pro users should make sure to have applesmc" + ewarn "loaded before starting pbbuttonsdm otherwise auto-adjustments" + ewarn "will not work and pbbuttonsd may segfault." + fi + + ewarn "Ensure that the evdev kernel module is loaded otherwise" + ewarn "pbbuttonsd won't work. SysV IPC is also required." + ewarn + ewarn "If you need extra security, you can tell pbbuttonsd to only accept" + ewarn "input from one user. You can set the userallowed option in" + ewarn "/etc/pbbuttonsd.cnf to limit access." + ewarn + + if use ibam; then + elog "To properly initialize the IBaM battery database, you will" + elog "need to perform a full discharge/charge cycle. For more" + elog "details, please see the pbbuttonsd man page." + elog + fi +} |