From 4024c91cf42a719579baa21e73241b838373fd44 Mon Sep 17 00:00:00 2001 From: Joseph Jezak Date: Sun, 17 Dec 2006 01:42:46 +0000 Subject: [PATCH] Marked ppc stable. Added x86 compile fix and re-added ~x86. Replaced autocon/automake with eautoconf. Package-Manager: portage-2.1.2_rc3-r5 --- app-laptop/pbbuttonsd/ChangeLog | 7 ++++- app-laptop/pbbuttonsd/Manifest | 30 ++++++++++++++----- app-laptop/pbbuttonsd/files/x86-fix.patch | 29 ++++++++++++++++++ app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild | 10 +++---- 4 files changed, 62 insertions(+), 14 deletions(-) create mode 100644 app-laptop/pbbuttonsd/files/x86-fix.patch diff --git a/app-laptop/pbbuttonsd/ChangeLog b/app-laptop/pbbuttonsd/ChangeLog index 881925cc3b3f..0c725c9dd4e6 100644 --- a/app-laptop/pbbuttonsd/ChangeLog +++ b/app-laptop/pbbuttonsd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-laptop/pbbuttonsd # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.56 2006/10/03 02:32:04 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.57 2006/12/17 01:42:46 josejx Exp $ + + 17 Dec 2006; Joseph Jezak +files/x86-fix.patch, + pbbuttonsd-0.7.9.ebuild: + Marked ppc stable. Added x86 compile fix and re-added ~x86. Replaced + autoconf/automake with eautoconf. 03 Oct 2006; Joseph Jezak -pbbuttonsd-0.7.5.ebuild, -pbbuttonsd-0.7.6.ebuild, pbbuttonsd-0.7.9.ebuild: diff --git a/app-laptop/pbbuttonsd/Manifest b/app-laptop/pbbuttonsd/Manifest index 94d04f7e3ef2..7b03e026b345 100644 --- a/app-laptop/pbbuttonsd/Manifest +++ b/app-laptop/pbbuttonsd/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX pbbuttonsd-ibam-g++.patch 1331 RMD160 39dd7e4b82fa94ad6f46c054bfed6749c1532e13 SHA1 17702b6ea9d3e316395847e6f6f3a48647fa9403 SHA256 47c2f632c523d3f9e54bc1fd235585be701c2855d17fc5a2753677d99c80d67e MD5 5e82119a13c8f353802e899205786a90 files/pbbuttonsd-ibam-g++.patch 1331 RMD160 39dd7e4b82fa94ad6f46c054bfed6749c1532e13 files/pbbuttonsd-ibam-g++.patch 1331 @@ -10,6 +13,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 x86-fix.patch 839 RMD160 8f28330a3cc5f4a27b45c01b508a844ce4bd3ed8 SHA1 cbc419f8bc960821f38038f88c377ff283f00b35 SHA256 c32978d7cd61b490eaa1789cc8578ba05c3bd53049c72c9b357006dfe3dd749c +MD5 84189d3cb0cfb8627cad8876b5372f59 files/x86-fix.patch 839 +RMD160 8f28330a3cc5f4a27b45c01b508a844ce4bd3ed8 files/x86-fix.patch 839 +SHA256 c32978d7cd61b490eaa1789cc8578ba05c3bd53049c72c9b357006dfe3dd749c files/x86-fix.patch 839 DIST pbbuttonsd-0.6.6.tar.gz 365132 RMD160 bc010e0ab9971ff5f752349f9f4868f36686a61d SHA1 b766a7bacef307073706672549b54d0d3af01022 SHA256 6dac8c027ba68ecdab84859bf5c191989f518feda0c0e237bef723370ed4335c 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 @@ -26,14 +33,14 @@ EBUILD pbbuttonsd-0.7.8.ebuild 2153 RMD160 b2af3a32982539cbc34d7976e0d95917308ee MD5 ece6b7358a46f8816f6040557091705a pbbuttonsd-0.7.8.ebuild 2153 RMD160 b2af3a32982539cbc34d7976e0d95917308eec70 pbbuttonsd-0.7.8.ebuild 2153 SHA256 c80c2b86fe9ef6ec45d2f1657f7a0ed8b4b0ce2bc769a162abdeddff80d6dafc pbbuttonsd-0.7.8.ebuild 2153 -EBUILD pbbuttonsd-0.7.9.ebuild 2055 RMD160 54c39b2bbbd49a6117ac5bbd6dbbe5683a9bc84a SHA1 b4bac17b8f39e8428ac750826507c1c9ede67db2 SHA256 343ddb41f8de880235b64ba292c88eb6c54316487ee7cac8c12df26ae283cc9a -MD5 96b325fc1bc12c0a3406b79806df209d pbbuttonsd-0.7.9.ebuild 2055 -RMD160 54c39b2bbbd49a6117ac5bbd6dbbe5683a9bc84a pbbuttonsd-0.7.9.ebuild 2055 -SHA256 343ddb41f8de880235b64ba292c88eb6c54316487ee7cac8c12df26ae283cc9a pbbuttonsd-0.7.9.ebuild 2055 -MISC ChangeLog 12978 RMD160 4016c65de357cb53096b8cccb732a0c8a6233da7 SHA1 c19d6171dff49f61bbfdf2db7fc0c79f547dd1e3 SHA256 0b52fc8c1702ba3453ffef740f140902925cadd0ffbf1beb15d212097e9e763d -MD5 d70779a8fe6de851560eb17835f29e48 ChangeLog 12978 -RMD160 4016c65de357cb53096b8cccb732a0c8a6233da7 ChangeLog 12978 -SHA256 0b52fc8c1702ba3453ffef740f140902925cadd0ffbf1beb15d212097e9e763d ChangeLog 12978 +EBUILD pbbuttonsd-0.7.9.ebuild 2089 RMD160 d482dcc63755bd93840078198013e96117e88ed3 SHA1 a6e6f76d64e4d8de5c3a9f9ae0b9c37064150f80 SHA256 c3875dc8ed0a658101a6a5df9a1a09c302eae7c36b543a6dd9c41cdfeac959d0 +MD5 bf663fd2b72c2b52f8e3b5ef48b00111 pbbuttonsd-0.7.9.ebuild 2089 +RMD160 d482dcc63755bd93840078198013e96117e88ed3 pbbuttonsd-0.7.9.ebuild 2089 +SHA256 c3875dc8ed0a658101a6a5df9a1a09c302eae7c36b543a6dd9c41cdfeac959d0 pbbuttonsd-0.7.9.ebuild 2089 +MISC ChangeLog 13183 RMD160 e87858d3facb4ca996c0013250bcc4a8bc844d9f SHA1 e65a1f1169a847c446c828339ca8001e3709bf5b SHA256 b468ab838f4b7e798d9ac863beb8f8e555c3cfb483142b6b9dd65ddbf9ecf5f3 +MD5 9bc6138740f09c0230a52d5ee37f7adf ChangeLog 13183 +RMD160 e87858d3facb4ca996c0013250bcc4a8bc844d9f ChangeLog 13183 +SHA256 b468ab838f4b7e798d9ac863beb8f8e555c3cfb483142b6b9dd65ddbf9ecf5f3 ChangeLog 13183 MISC metadata.xml 156 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 SHA1 30b3e2b32ee2b52b68ad1d77f04f2c75980bf7d4 SHA256 d57f79be439079b5c78578b17eb3ee7d20883353b1c40a716d3f1ab06af34851 MD5 52f9d8e98c8931645c57a3de1c36727d metadata.xml 156 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 metadata.xml 156 @@ -50,3 +57,10 @@ 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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFhKCdcsIHjyDViGQRApIwAKCCUjDPzd7ErebC3v5aIYsLZpGc9ACfTZ2P +fzxXpgLqAjSXWR0/poEYSO4= +=TaGh +-----END PGP SIGNATURE----- diff --git a/app-laptop/pbbuttonsd/files/x86-fix.patch b/app-laptop/pbbuttonsd/files/x86-fix.patch new file mode 100644 index 000000000000..754aba50d281 --- /dev/null +++ b/app-laptop/pbbuttonsd/files/x86-fix.patch @@ -0,0 +1,29 @@ +--- class_backlight.c 2006-10-01 04:06:51.000000000 -0400 ++++ /home/jjezak/pbbuttonsd-0.7.9/src/class_backlight.c 2006-10-03 22:04:34.000000000 -0400 +@@ -46,8 +46,9 @@ + struct class_backlight *base = &modbase_backlight; + + if (!base->driver) base->driver = driver_backlight_sysfs_init (taglist); ++#ifdef WITH_MODULE_PMAC + if (!base->driver) base->driver = driver_backlight_pmu_init (taglist); +- ++#endif + if (base->driver) + print_msg (PBB_INFO, _("Initialized: %s\n"), _(base->driver->name)); + else +--- driver_backlight_pmu.c 2006-10-01 04:04:25.000000000 -0400 ++++ /home/jjezak/pbbuttonsd-0.7.9/src/driver_backlight_pmu.c 2006-10-03 22:04:34.000000000 -0400 +@@ -15,6 +15,8 @@ + # include + #endif + ++#ifdef WITH_MODULE_PMAC ++ + #include + #include + #include +@@ -123,3 +125,4 @@ + } + + ++#endif diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild index 1ba9d0b4d53d..67bbfe2469a7 100644 --- a/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild +++ b/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild,v 1.2 2006/10/03 02:32:04 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild,v 1.3 2006/12/17 01:42:46 josejx Exp $ -inherit eutils flag-o-matic +inherit autotools flag-o-matic DESCRIPTION="Handles power management and special keys on laptops." HOMEPAGE="http://pbbuttons.sf.net" @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/pbbuttons/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~ppc ~ppc64" +KEYWORDS="ppc ~ppc64 ~x86" IUSE="acpi debug alsa oss ibam" DEPEND=">=sys-apps/baselayout-1.8.6.12-r1 @@ -21,8 +21,8 @@ RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0 ) src_unpack() { unpack ${A} cd ${S} - autoconf - automake + epatch "${FILESDIR}/x86-fix.patch" + eautoconf } src_compile() { -- 2.26.2