New version of pbbuttonsd, supports the MacBook and MacBook Pro.
authorJoseph Jezak <josejx@gentoo.org>
Mon, 12 Mar 2007 01:56:04 +0000 (01:56 +0000)
committerJoseph Jezak <josejx@gentoo.org>
Mon, 12 Mar 2007 01:56:04 +0000 (01:56 +0000)
Package-Manager: portage-2.1.2.2

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

index f3155b954d9bd7defd52d55bea2fcc4bfaf79cff..4b00f7676d29ca2ba52d9ea0274ca78249f69238 100644 (file)
@@ -1,6 +1,11 @@
 # 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.60 2007/01/23 16:19:30 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.61 2007/03/12 01:56:04 josejx Exp $
+
+*pbbuttonsd-0.8.0 (12 Mar 2007)
+
+  12 Mar 2007; Joseph Jezak <josejx@gentoo.org> +pbbuttonsd-0.8.0.ebuild:
+  New version of pbbuttonsd, supports the MacBook and MacBook Pro.
 
   23 Jan 2007; Marius Mauch <genone@gentoo.org> pbbuttonsd-0.6.6.ebuild,
   pbbuttonsd-0.7.4.ebuild, pbbuttonsd-0.7.8.ebuild, pbbuttonsd-0.7.9.ebuild:
index 9ebd1a7a144f563a8b4ac68084368ff478fdb7eb..caf1d8051a67f035424030aaf1758bca3665674c 100644 (file)
@@ -25,6 +25,7 @@ DIST pbbuttonsd-0.6.6.tar.gz 365132 RMD160 bc010e0ab9971ff5f752349f9f4868f36686a
 DIST pbbuttonsd-0.7.4.tar.gz 446923 RMD160 289d8cd61faed1fcccfa503bb33de0f07f90d393 SHA1 e7a96ff28eea93e5112f6750904af6971b518065 SHA256 fbfcb58274fded05d40acb23da2c7468c0b3042e953e9d60d285814f0854b0a3
 DIST pbbuttonsd-0.7.8.tar.gz 425183 RMD160 d8e9e792df8e6cd8a3867c3bdd4bcbb1955e90f1 SHA1 47fefb834f11955c1785ca6a9ee725aacd68f96c SHA256 a8e9d7722c05d7f4cc2137d1853411be7b1e42366c72b8bfe6c06ed81f92aee4
 DIST pbbuttonsd-0.7.9.tar.gz 432995 RMD160 8570485273c1eb1fae12018f05be6710d349fef6 SHA1 12f9c83a0023c4cbb21bf6d766a6b08ae12c6151 SHA256 b27734a305eadf3b5617c235a7165fa7151f9b732bab4e3ddf8b11648a4e929e
+DIST pbbuttonsd-0.8.0.tar.gz 590755 RMD160 f2dfeedb6e0316b1fd820202f9f4eb69f12a48ed SHA1 6ff32ac70b1996c10726942650c65e3a5abefcd3 SHA256 7efa5efdc2e08b4ed650de32252fd54af0142b10ddaacd08f3bb92b264b484db
 EBUILD pbbuttonsd-0.6.6.ebuild 1423 RMD160 9e6314507c3a4f7f62fda49d433c9313d94cd11b SHA1 0a4cf2a6eb0ce34de504d29c38a319741ce212d6 SHA256 d0f389dfa9bcf4fcff39d54c3545bc3c0a957246efd40478c0e137d8e667bd8b
 MD5 85a90804579d580132f1b0d354ad8a9c pbbuttonsd-0.6.6.ebuild 1423
 RMD160 9e6314507c3a4f7f62fda49d433c9313d94cd11b pbbuttonsd-0.6.6.ebuild 1423
@@ -41,10 +42,14 @@ EBUILD pbbuttonsd-0.7.9.ebuild 2117 RMD160 d664188e3f442f78c7f0da1126cf140d093eb
 MD5 02721885cbc50447560bea734091e664 pbbuttonsd-0.7.9.ebuild 2117
 RMD160 d664188e3f442f78c7f0da1126cf140d093ebda9 pbbuttonsd-0.7.9.ebuild 2117
 SHA256 a77ad4422f370ed52f8483d2d7ab7783fa3830e9f6dda4c3c6477240e97f261a pbbuttonsd-0.7.9.ebuild 2117
-MISC ChangeLog 13665 RMD160 eb6e75ff89b00e2716692051e79753df814c3cd3 SHA1 30be04f54a17c99cc898a3e9809acf6952acd9bd SHA256 8d21863c57065dc7620058691c729419d2d2c6a582afbba2da99f8d22110a643
-MD5 91318953c8db81e78cc0ed9efcc4bb91 ChangeLog 13665
-RMD160 eb6e75ff89b00e2716692051e79753df814c3cd3 ChangeLog 13665
-SHA256 8d21863c57065dc7620058691c729419d2d2c6a582afbba2da99f8d22110a643 ChangeLog 13665
+EBUILD pbbuttonsd-0.8.0.ebuild 2710 RMD160 a75f0a3374843d34ff37df11121b3653f4c94f43 SHA1 b20bde8b7d9a4129ae1d7a702cb38003ba1e0e7a SHA256 495cd7a1a62b0750a5c6da26a3ccfc7934a55b5db4ee9b64a84f8765971a67ec
+MD5 99029515fed5e5585c5ee207a534d24c pbbuttonsd-0.8.0.ebuild 2710
+RMD160 a75f0a3374843d34ff37df11121b3653f4c94f43 pbbuttonsd-0.8.0.ebuild 2710
+SHA256 495cd7a1a62b0750a5c6da26a3ccfc7934a55b5db4ee9b64a84f8765971a67ec pbbuttonsd-0.8.0.ebuild 2710
+MISC ChangeLog 13840 RMD160 94d391bd868bbf24c070d57907267c652cb30bf6 SHA1 b9e0b920bc90a958dfb56b9d5c269c0b5b02a9ca SHA256 d659afd5490918621476b80581d1f800a96a161f565a6e9caf7086126436015e
+MD5 93ba307a9a07a0cdc2a2a936363a94f5 ChangeLog 13840
+RMD160 94d391bd868bbf24c070d57907267c652cb30bf6 ChangeLog 13840
+SHA256 d659afd5490918621476b80581d1f800a96a161f565a6e9caf7086126436015e ChangeLog 13840
 MISC metadata.xml 156 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 SHA1 30b3e2b32ee2b52b68ad1d77f04f2c75980bf7d4 SHA256 d57f79be439079b5c78578b17eb3ee7d20883353b1c40a716d3f1ab06af34851
 MD5 52f9d8e98c8931645c57a3de1c36727d metadata.xml 156
 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 metadata.xml 156
@@ -61,10 +66,13 @@ SHA256 66e8f156c829045820447c601c2d94dd050ffd5972d01afad1c31d66e3a14ecf files/di
 MD5 35fb21fea1037ca53a5ff469299fa33c files/digest-pbbuttonsd-0.7.9 250
 RMD160 cf3bfb3400aef5c43fc41c281deca9b4d6ccf768 files/digest-pbbuttonsd-0.7.9 250
 SHA256 b5e6f398b30b3da3e823656451a956fea184ac0956adca676c6f4c43c6c86233 files/digest-pbbuttonsd-0.7.9 250
+MD5 d9fdfed7eec47216688e9338d1b9d262 files/digest-pbbuttonsd-0.8.0 250
+RMD160 796644e6caae9ab762397bbd77b7ac7bf2a5f157 files/digest-pbbuttonsd-0.8.0 250
+SHA256 29d1bd06a605535c56639a19e4ab978b287a383b3d7d01ac0028acb485f55823 files/digest-pbbuttonsd-0.8.0 250
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v2.0.2 (GNU/Linux)
 
-iD8DBQFFtjg86J2i8a8J4okRAkQsAJ9MLovpx1UnpyiYDO82H4MIzXmLDACfSYxk
-hRce5gfedE7C7/WqBvBt07g=
-=UVyl
+iD8DBQFF9LM5csIHjyDViGQRAm4WAJ9yc/VpkqkkmaR1WuKQoVz/8C079gCfdnpH
+1a0iZZRygIPeydxpMxZ8Cts=
+=Ch9x
 -----END PGP SIGNATURE-----
diff --git a/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.8.0 b/app-laptop/pbbuttonsd/files/digest-pbbuttonsd-0.8.0
new file mode 100644 (file)
index 0000000..f45dd6e
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 11c218e54ceb08deaf6111bd82538dbf pbbuttonsd-0.8.0.tar.gz 590755
+RMD160 f2dfeedb6e0316b1fd820202f9f4eb69f12a48ed pbbuttonsd-0.8.0.tar.gz 590755
+SHA256 7efa5efdc2e08b4ed650de32252fd54af0142b10ddaacd08f3bb92b264b484db pbbuttonsd-0.8.0.tar.gz 590755
diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.8.0.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.8.0.ebuild
new file mode 100644 (file)
index 0000000..33665a8
--- /dev/null
@@ -0,0 +1,100 @@
+# 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.0.ebuild,v 1.1 2007/03/12 01:56:04 josejx Exp $
+
+inherit autotools flag-o-matic
+
+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 ~ppc64"
+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}
+       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"
+       exeinto /etc/init.d
+       newexe ${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.conf 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
+}
index 2b72fbe83600b05c8ebbe586f52bcc487f1102fa..509f089fb3827d3cd1b3534f023a5a8faf29103e 100644 (file)
@@ -1,5 +1,9 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST powerprefs-0.5.0.tar.gz 199827 RMD160 ce5699234f6fa7b4a5d79d487b28efa203f5271d SHA1 32e35972599d616c44777cb9f40607f17d37f987 SHA256 06eb401cca8fb4bd715ece3360a9556620043e31d9bbfe8c5ea33d6d9e886291
 DIST powerprefs-0.5.1.tar.gz 202710 RMD160 2c0cd89088e25c6ef3b02990cc356965c9961bd3 SHA1 bba579aafe9d290097825fd0def73aa396cfa481 SHA256 b56f03bab64d3b6863f48195dcaa9b2a4e8be7b073ee15e61515480604c6cf8f
+DIST powerprefs-0.8.0.tar.gz 400749 RMD160 ef5ac0197bd14001f2d40dd65356db58d7c39c26 SHA1 011a2aab5033554865ea64a2e8770eb2f06e9c45 SHA256 d6c236b933655e5a66a6cbec0db1d7294d0d5a195a0b020dbbf43a121b04fd3a
 EBUILD powerprefs-0.5.0.ebuild 837 RMD160 3f7193de037d670daa23f867c4eec07afdf0f942 SHA1 ca031d55263be46a810a8928dc0ceeef69e915e7 SHA256 3d6b9fc4216acb25e86463e58f950a22a055c4a5acdcfd0cb6832ee2d1c8c45f
 MD5 a8691a1f19b246131a6f3ddaf93718ff powerprefs-0.5.0.ebuild 837
 RMD160 3f7193de037d670daa23f867c4eec07afdf0f942 powerprefs-0.5.0.ebuild 837
@@ -8,10 +12,14 @@ EBUILD powerprefs-0.5.1.ebuild 836 RMD160 b20d17d8b0cd2fefc14107bf9fe7d4f89c6cdb
 MD5 eedd77a794cba4b5cc278393f43cbb9c powerprefs-0.5.1.ebuild 836
 RMD160 b20d17d8b0cd2fefc14107bf9fe7d4f89c6cdbd8 powerprefs-0.5.1.ebuild 836
 SHA256 2a1b47183437542e433c0759d14150bf56aef576eac62cedb67d08829bc75e2e powerprefs-0.5.1.ebuild 836
-MISC ChangeLog 3514 RMD160 e1cdd3b6999ac0fbb051f243ff3e95627e94026e SHA1 7f527556c92caf9d5e399512a5a05e08dee25062 SHA256 650f60f9bb4d97f107bfa329ab8ab13bcc6cf4f703ad119389c2212d8ddf44a5
-MD5 6e22580c32a1458ceff2878b79dbf23e ChangeLog 3514
-RMD160 e1cdd3b6999ac0fbb051f243ff3e95627e94026e ChangeLog 3514
-SHA256 650f60f9bb4d97f107bfa329ab8ab13bcc6cf4f703ad119389c2212d8ddf44a5 ChangeLog 3514
+EBUILD powerprefs-0.8.0.ebuild 832 RMD160 16c1c6daed7e39fb18ebf1eae28ef805d624a926 SHA1 e737a265a9a699bef72165edfa8d6ce8956d56b7 SHA256 7a2098167dcbdf00a8b3846f7b55749ec6c723da6a78562c4204b530d79aec56
+MD5 ac60ffc479ca7244a4a6d85812df9530 powerprefs-0.8.0.ebuild 832
+RMD160 16c1c6daed7e39fb18ebf1eae28ef805d624a926 powerprefs-0.8.0.ebuild 832
+SHA256 7a2098167dcbdf00a8b3846f7b55749ec6c723da6a78562c4204b530d79aec56 powerprefs-0.8.0.ebuild 832
+MISC ChangeLog 3698 RMD160 4334e45026d1e3dd497d3241a32f14f6a47add02 SHA1 bf74af04c9a22a158b8984b48cc8db0716532be5 SHA256 90b9c5047f253c86c93e44101b14bf951b366bfe1932fcf4e8132da7712e9e6d
+MD5 1168c0cc7cfa40a25fb6dc1e81f37e72 ChangeLog 3698
+RMD160 4334e45026d1e3dd497d3241a32f14f6a47add02 ChangeLog 3698
+SHA256 90b9c5047f253c86c93e44101b14bf951b366bfe1932fcf4e8132da7712e9e6d ChangeLog 3698
 MISC metadata.xml 156 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 SHA1 30b3e2b32ee2b52b68ad1d77f04f2c75980bf7d4 SHA256 d57f79be439079b5c78578b17eb3ee7d20883353b1c40a716d3f1ab06af34851
 MD5 52f9d8e98c8931645c57a3de1c36727d metadata.xml 156
 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 metadata.xml 156
@@ -22,3 +30,13 @@ SHA256 1daa6fe2742eb60cf48f400ba67b3d996d92e531b6cf77baf29c935a3a35799a files/di
 MD5 8c6906f617666b18ae1945c0c5588d11 files/digest-powerprefs-0.5.1 250
 RMD160 743919e7a695264412fa6171129e29668bbb51e6 files/digest-powerprefs-0.5.1 250
 SHA256 abecf42422f52f8a9a8a45defd414260077ee72df5ca4bdc651186d9455dc8aa files/digest-powerprefs-0.5.1 250
+MD5 d4aba05fc2c4d42a5bd7a21e89767bab files/digest-powerprefs-0.8.0 250
+RMD160 64a07e663b5a4892a0dc6185725907080c4ba895 files/digest-powerprefs-0.8.0 250
+SHA256 8d6ce295cef3a2b985ce2cd019b41f22af123432f634c7511c61d82bf630a329 files/digest-powerprefs-0.8.0 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD4DBQFF9LNTcsIHjyDViGQRAr7MAJ9jLfV1M4y5KS8ZFGzgpdqEwf11LgCVE9k4
+xf5u0wWPl+26qeTnHzXy2g==
+=dAo0
+-----END PGP SIGNATURE-----