From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 66913138334 for ; Sat, 2 Jun 2018 22:38:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42496E089E; Sat, 2 Jun 2018 22:38:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E31FEE088F for ; Sat, 2 Jun 2018 22:38:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9DC25335C60 for ; Sat, 2 Jun 2018 22:38:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B13982C4 for ; Sat, 2 Jun 2018 22:38:16 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1527979019.c5e7617ecae925edd807828a7fa38278d719c23f.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/pbbuttonsd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-laptop/pbbuttonsd/Manifest app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r3.ebuild app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r4.ebuild X-VCS-Directories: app-laptop/pbbuttonsd/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: c5e7617ecae925edd807828a7fa38278d719c23f X-VCS-Branch: master Date: Sat, 2 Jun 2018 22:38:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7267ac36-ca32-4f54-a0ed-77306891718c X-Archives-Hash: 0d968eb222a5e5c1e9e9192d14602eda commit: c5e7617ecae925edd807828a7fa38278d719c23f Author: Aaron Bauman gentoo org> AuthorDate: Sat Jun 2 19:57:40 2018 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Sat Jun 2 22:36:59 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e7617e app-laptop/pbbuttonsd: drop old EAPI=0 ebuilds Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-laptop/pbbuttonsd/Manifest | 1 - app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r3.ebuild | 126 ---------------------- app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r4.ebuild | 130 ----------------------- 3 files changed, 257 deletions(-) diff --git a/app-laptop/pbbuttonsd/Manifest b/app-laptop/pbbuttonsd/Manifest index 9abb5c4a669..797ddc84c0f 100644 --- a/app-laptop/pbbuttonsd/Manifest +++ b/app-laptop/pbbuttonsd/Manifest @@ -1,2 +1 @@ -DIST pbbuttonsd-0.8.1.tar.gz 589630 BLAKE2B 6cc9e8cfdbb3878be38d3e06f84af08f1c0dcdca23868c2b04c3812bb8d69780dbe86911b6c58a2a7345b39a19fffb2536ca7f0230ec8159710505b86c2b3ebe SHA512 856f8533c1f6489986c232baa8b8002a01d009ed3728ee35bc723aece91ba626ce961119c0d424f40c2f9289827f317c56d70fe8f0e035cbd9f08d7701316ac3 DIST pbbuttonsd-0.8.1a.tar.gz 589747 BLAKE2B a0410b7f165e8a0f5b6efa8fa86cc32a84e62da08141d285442d48f0e541d4d6d063e61a7e48aa7901135c4fc9640a7968be821619b3741ce30ba1497015aad4 SHA512 4aaf674872982925f7aa8e06a363f50830f13d9491f4a3b850c1852a8a6d4b2c72164f839c482eed059703dd25d900fe3bb774f78e7039ac2464ea7a1837bf99 diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r3.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r3.ebuild deleted file mode 100644 index 6b240e0d85b..00000000000 --- a/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r3.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -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="~amd64 ppc ~x86" -IUSE="acpi alsa debug doc ibam macbook oss" - -DEPEND="macbook? ( - sys-libs/libsmbios - sys-apps/pciutils - ) - >=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}/${PN}-0.8.1-pmcs.patch" - ### Don't link with g++ if we don't use ibam - if ! use ibam; then - epatch "${FILESDIR}/${PN}-0.8.1-g++.patch" - fi - ### Fix macbook -lz issue - epatch "${FILESDIR}/${PN}-0.8.1-lz.patch" - epatch "${FILESDIR}/${PN}-0.8.1-lm.patch" - ### Fix new apple hid fnmode issue - epatch "${FILESDIR}/${PN}-0.8.1-fnmode.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/* - - dodir /etc/power/resume.d - dodir /etc/power/suspend.d - dodir /etc/power/scripts.d - exeinto "/etc/power/scripts.d" - doexe "${FILESDIR}/wireless" - ln -s "${D}/etc/power/scripts.d/wireless" "${D}/etc/power/resume.d/wireless" -} - -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 - - elog "A script is now available to reset your wirless connection on resume." - elog "Simply uncomment the commented command and set the correct device to" - elog "use it. You can find the script in /etc/power/resume.d/wireless" - -} diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r4.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r4.ebuild deleted file mode 100644 index a1941b1e7b4..00000000000 --- a/app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r4.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -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="~amd64 ~ppc ~x86" -IUSE="acpi alsa debug doc ibam macbook oss" - -DEPEND="macbook? ( - sys-libs/libsmbios - sys-apps/pciutils - ) - >=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}/${PN}-0.8.1-pmcs.patch" - ### Don't link with g++ if we don't use ibam - if ! use ibam; then - epatch "${FILESDIR}/${PN}-0.8.1-g++.patch" - fi - ### Fix macbook -lz issue - epatch "${FILESDIR}/${PN}-0.8.1-lz.patch" - epatch "${FILESDIR}/${PN}-0.8.1-lm.patch" - ### Fix new apple hid fnmode issue - epatch "${FILESDIR}/${PN}-0.8.1-fnmode.patch" - ### Add kernel 2.6.x stuff for 3.x as well - epatch "${FILESDIR}/${PN}-0.8.1-laptopmode.sh.patch" - epatch "${FILESDIR}/${PN}-0.8.1-cpufreq.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/* - - dodir /etc/power/resume.d - dodir /etc/power/suspend.d - dodir /etc/power/scripts.d - exeinto "/etc/power/scripts.d" - doexe "${FILESDIR}/wireless" - ln -s "${D}/etc/power/scripts.d/wireless" "${D}/etc/power/resume.d/wireless" -} - -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 - - elog "A script is now available to reset your wirless connection on resume." - elog "Simply uncomment the commented command and set the correct device to" - elog "use it. You can find the script in /etc/power/resume.d/wireless" - -}