summaryrefslogtreecommitdiff
path: root/app-laptop/pbbuttonsd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-09 09:27:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-09 09:27:03 +0100
commitcb3e8c6af7661fbcafdcacc7e0ecdfb610d098fa (patch)
tree047fc92023c520d07f13ec5ac96e094d1b312a7a /app-laptop/pbbuttonsd
parent7b9f15840068dfaeea5684f8a1af1fe460dfa14c (diff)
gentoo resync : 09.06.2018
Diffstat (limited to 'app-laptop/pbbuttonsd')
-rw-r--r--app-laptop/pbbuttonsd/Manifest3
-rw-r--r--app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r3.ebuild126
-rw-r--r--app-laptop/pbbuttonsd/pbbuttonsd-0.8.1-r4.ebuild130
3 files changed, 0 insertions, 259 deletions
diff --git a/app-laptop/pbbuttonsd/Manifest b/app-laptop/pbbuttonsd/Manifest
index 7b03de1348c0..40c4e80e03e9 100644
--- a/app-laptop/pbbuttonsd/Manifest
+++ b/app-laptop/pbbuttonsd/Manifest
@@ -7,9 +7,6 @@ AUX pbbuttonsd-0.8.1-lz.patch 920 BLAKE2B ab9a5cdf4b9ac2b1dd55229ab7dcfcf65bf4ff
AUX pbbuttonsd-0.8.1-pmcs.patch 692 BLAKE2B 79f3fb25cd7bc552afda0c0eeeaa94b89c10e066ab2ab9dabf151d26efac784a52da5deff5d70b3cbfd78f4274aa4d1a6c1c2f42effbe455d3ae72d43f1dfd8b SHA512 ae8e9c695d80fa775c07b64968f13b3092858e14b37b1ce725e10ea06b897304e9f5079339633163b02e565d9dbb96db321d628394fcfefe528c7a1d36c66b31
AUX pbbuttonsd.rc6 355 BLAKE2B 41e646f547b684930949669760ffd7e09c6ef4591e6183b12d555dba45d100414cc5daa54ef26e2bba491841553961955cb0a29c9c5d6b37d4e13f9a3117a9fb SHA512 93165ce1d1c757e58b407656bf86084bb3fcfe0c55897fbb382f107ff9b3d69559255a11ac3017cf5741eb2923d753f5cc3f1b495e31e16b18b16757accfbdfb
AUX wireless 235 BLAKE2B 1fdc5401c1bcc927cad521bb7e6d502fd072c6aae119e59d92c19431985cccaecad5ba55a27af888e63881d0305ee732dce9b1e777e4b2322a98efaad13de310 SHA512 58cbfb80ec32ba6868fea500bcf58bf649a0f468a017ec8c200fe0edd0fd7f1fe17efaafca3e67c20df9fc5a6c80b2941237a375f6e73349a83593dcfacf2816
-DIST pbbuttonsd-0.8.1.tar.gz 589630 BLAKE2B 6cc9e8cfdbb3878be38d3e06f84af08f1c0dcdca23868c2b04c3812bb8d69780dbe86911b6c58a2a7345b39a19fffb2536ca7f0230ec8159710505b86c2b3ebe SHA512 856f8533c1f6489986c232baa8b8002a01d009ed3728ee35bc723aece91ba626ce961119c0d424f40c2f9289827f317c56d70fe8f0e035cbd9f08d7701316ac3
DIST pbbuttonsd-0.8.1a.tar.gz 589747 BLAKE2B a0410b7f165e8a0f5b6efa8fa86cc32a84e62da08141d285442d48f0e541d4d6d063e61a7e48aa7901135c4fc9640a7968be821619b3741ce30ba1497015aad4 SHA512 4aaf674872982925f7aa8e06a363f50830f13d9491f4a3b850c1852a8a6d4b2c72164f839c482eed059703dd25d900fe3bb774f78e7039ac2464ea7a1837bf99
-EBUILD pbbuttonsd-0.8.1-r3.ebuild 3432 BLAKE2B a2d4122bbf7e1905b06404d4ee8397f200cd058872893acaf9fe668319fb63a1518b50df7c157816917ecde706ddaf16f7511ef0cd5dcbfa0b82063bfd5afe62 SHA512 acafb1e6ef90783d8458d0a59ed7c9966c56ebf7c5f6067f3c4676b54df0ba92f28456bf0d8dc3fd20ff24322807ba27eb616b646d09b3a1e20aa5cef83f6408
-EBUILD pbbuttonsd-0.8.1-r4.ebuild 3580 BLAKE2B 9cc3fbc88819f64a241d1a885af90dd5488a455e3d3479bf6b4370399df91e45e509f6007d01dd54a0ca788fea4be13304c53597e42dd7d7da0254153fa96c71 SHA512 7270d78a161fd253f5918bb9dce281c4b3ac087780421ad39537a23baa67ee29229fd8f7374ca7adb701da5f5d91d7a4ec447c636ddb50e573801d4d6c5de42e
EBUILD pbbuttonsd-0.8.1a.ebuild 3251 BLAKE2B f671bdbfde56131bd0fe73cb8fa6398c6479c7fa2697815ed0c116945f96aec4f0274e251781efee8c8c692505f85d55ae3b414d2d547fb1c64b25a5e20559d0 SHA512 05df1091b4f54a8797a756d87549a4a88075993a5f8f4027127041209b3f65956f457fa9e682b914b6565c47ba19994af1adb81a76ca8f5944e7317cfe161cb1
MISC metadata.xml 511 BLAKE2B 74e7a1939ef37f6fb312232b3df04de1ba6b0bb2e8bd476c0ebdeb2d7efcda0015204e4c003388194ac481f3fcb551949b4dba5515b770cd2d6ab78dd43ab72b SHA512 5a56b1fe175cd76fa23d90e4499f0a6bacfacdb9cb2fd647dbabec42030021c0b4f27eb04b523b9ae7bc44706ee9404abdf5ff16aa92655fab5d00ac187eca5b
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 6b240e0d85b8..000000000000
--- 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 a1941b1e7b41..000000000000
--- 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"
-
-}