diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-23 01:06:47 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-23 01:06:47 +0000 |
commit | 6e7933dfc6bc69d709115479f52d7971673ffcc6 (patch) | |
tree | 40c7fa67aa14f32f095a522c880f0c70fed01436 /app-laptop | |
parent | Fix sysfs detection problems (by migrating to Debian patchset) wrt #359891 by... (diff) | |
download | gentoo-2-6e7933dfc6bc69d709115479f52d7971673ffcc6.tar.gz gentoo-2-6e7933dfc6bc69d709115479f52d7971673ffcc6.tar.bz2 gentoo-2-6e7933dfc6bc69d709115479f52d7971673ffcc6.zip |
punt old, these have no chances of working
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/ibam/ChangeLog | 7 | ||||
-rw-r--r-- | app-laptop/ibam/files/ibam-0.5.2-acpi.patch | 15 | ||||
-rw-r--r-- | app-laptop/ibam/files/ibam-0.5.2-ldflags.patch | 27 | ||||
-rw-r--r-- | app-laptop/ibam/ibam-0.4.ebuild | 44 | ||||
-rw-r--r-- | app-laptop/ibam/ibam-0.5.2-r1.ebuild | 54 | ||||
-rw-r--r-- | app-laptop/ibam/ibam-0.5.2-r2.ebuild | 56 | ||||
-rw-r--r-- | app-laptop/ibam/ibam-0.5.2.ebuild | 52 |
7 files changed, 6 insertions, 249 deletions
diff --git a/app-laptop/ibam/ChangeLog b/app-laptop/ibam/ChangeLog index 830c31ca5de3..035e85c00fbb 100644 --- a/app-laptop/ibam/ChangeLog +++ b/app-laptop/ibam/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-laptop/ibam # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibam/ChangeLog,v 1.9 2012/01/23 00:55:39 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibam/ChangeLog,v 1.10 2012/01/23 01:06:46 ssuominen Exp $ + + 23 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> -ibam-0.4.ebuild, + -ibam-0.5.2.ebuild, -ibam-0.5.2-r1.ebuild, -ibam-0.5.2-r2.ebuild, + -files/ibam-0.5.2-acpi.patch, -files/ibam-0.5.2-ldflags.patch: + old *ibam-0.5.2-r3 (23 Jan 2012) diff --git a/app-laptop/ibam/files/ibam-0.5.2-acpi.patch b/app-laptop/ibam/files/ibam-0.5.2-acpi.patch deleted file mode 100644 index 321f5b3c8dfb..000000000000 --- a/app-laptop/ibam/files/ibam-0.5.2-acpi.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- ibam-0.5.2/ibam.inl 2009-03-09 19:53:20.000000000 +0300 -+++ ibam-0.5.2/ibam.inl 2010-11-26 04:52:29.590364097 +0300 -@@ -942,10 +942,11 @@ - { - string pmu_path = "/proc/pmu"; // These strings are already in ibam.hpp, - string acpi_path = "/proc/acpi"; // maybe a static function should check this -+ string acpi_ver_path = "/sys/module/acpi/parameters/acpica_version"; - string sysfs_path = "/sys/class/power_supply"; // ... - ifstream pmu,acpi,sysfs; - pmu.open((pmu_path+"/info").c_str()); -- acpi.open((acpi_path+"/info").c_str()); -+ acpi.open(acpi_ver_path.c_str()); - if (pmu.is_open()) { - #ifdef IBAM_DEBUG - cout << "using pmu" << endl; diff --git a/app-laptop/ibam/files/ibam-0.5.2-ldflags.patch b/app-laptop/ibam/files/ibam-0.5.2-ldflags.patch deleted file mode 100644 index 23c481dd6371..000000000000 --- a/app-laptop/ibam/files/ibam-0.5.2-ldflags.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -uNr ibam-0.5.2.ORIG//Makefile ibam-0.5.2/Makefile ---- ibam-0.5.2.ORIG//Makefile 2010-10-19 21:49:39.000000000 +0100 -+++ ibam-0.5.2/Makefile 2010-10-19 21:53:27.000000000 +0100 -@@ -30,12 +30,12 @@ - all: ibam - - ibam: ibam.cpp ibam.inl ibam.hpp -- $(CC) $(CFLAGS) ibam.cpp -o ibam -+ $(CC) $(LDFLAGS) $(CFLAGS) ibam.cpp -o ibam - - krell: ibam-krell.so - - ibam-krell.so: ibam-krell.o -- $(CC) $(CFLAGS) -fPIC -shared -Wl -o ibam-krell.so ibam-krell.o -+ $(CC) $(LDFLAGS) $(CFLAGS) -fPIC -shared -Wl -o ibam-krell.so ibam-krell.o - - ibam-krell.o: ibam-krell.cpp ibam.hpp ibam.inl - $(CC) $(CFLAGS) -fPIC `pkg-config gtk+-2.0 --cflags` `gdk-pixbuf-config --cflags` -c ibam-krell.cpp -@@ -43,7 +43,7 @@ - krell1: ibam-krell1.so - - ibam-krell1.so: ibam-krell1.o -- $(CC) $(CFLAGS) -shared -Wl -o ibam-krell1.so ibam-krell1.o -+ $(CC) $(LDFLAGS) $(CFLAGS) -shared -Wl -o ibam-krell1.so ibam-krell1.o - - ibam-krell1.o: ibam-krell1.cpp ibam.hpp ibam.inl - $(CC) $(CFLAGS) -fPIC `gtk-config --cflags` `imlib-config --cflags-gdk` -c ibam-krell1.cpp diff --git a/app-laptop/ibam/ibam-0.4.ebuild b/app-laptop/ibam/ibam-0.4.ebuild deleted file mode 100644 index 18f5618af522..000000000000 --- a/app-laptop/ibam/ibam-0.4.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibam/ibam-0.4.ebuild,v 1.5 2010/01/01 20:56:59 ssuominen Exp $ - -inherit toolchain-funcs - -DESCRIPTION="Intelligent Battery Monitor" -HOMEPAGE="http://ibam.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -IUSE="" - -DEPEND="sys-apps/sed" -RDEPEND="" - -src_unpack() { - unpack ${A} - - sed -i \ - -e "s:^CFLAGS=-O3:CFLAGS=${CFLAGS}:" \ - -e "s:^CC=g++:CC=$(tc-getCXX):" \ - "${S}"/Makefile || die -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - dobin ibam || die - - dodoc CHANGES README REPORT -} - -pkg_postinst() { - elog - elog "You will need to install sci-visualization/gnuplot if you wish to use" - elog "the --plot argument to ibam." - elog -} diff --git a/app-laptop/ibam/ibam-0.5.2-r1.ebuild b/app-laptop/ibam/ibam-0.5.2-r1.ebuild deleted file mode 100644 index d2af89d2e973..000000000000 --- a/app-laptop/ibam/ibam-0.5.2-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibam/ibam-0.5.2-r1.ebuild,v 1.1 2010/10/19 21:16:33 chainsaw Exp $ - -EAPI=2 - -inherit base toolchain-funcs - -DESCRIPTION="Intelligent Battery Monitor" -HOMEPAGE="http://ibam.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="gkrellm" - -DEPEND="gkrellm? ( app-admin/gkrellm )" -RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/${P}-ldflags.patch" ) - -src_prepare() { - base_src_prepare - sed -i \ - -e "s:^CFLAGS=-O3:CFLAGS=${CFLAGS}:" \ - -e "s:^CC=g++:CC=$(tc-getCXX):" \ - "${S}"/Makefile \ - || die "Failed to set CFLAGS/compiler" -} - -src_compile() { - emake || die "Making ibam failed" - if use gkrellm; then - emake krell || die "Making krell failed" - fi -} - -src_install() { - dobin ibam || die "dobin failed" - dodoc CHANGES README REPORT || die "dodoc failed" - - if use gkrellm; then - insinto /usr/$(get_libdir)/gkrellm2/plugins - doins ibam-krell.so || die "doins gkrellm plugin failed" - fi -} - -pkg_postinst() { - elog - elog "You will need to install sci-visualization/gnuplot if you wish to use" - elog "the --plot argument to ibam." - elog -} diff --git a/app-laptop/ibam/ibam-0.5.2-r2.ebuild b/app-laptop/ibam/ibam-0.5.2-r2.ebuild deleted file mode 100644 index f20fffc9e5e9..000000000000 --- a/app-laptop/ibam/ibam-0.5.2-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibam/ibam-0.5.2-r2.ebuild,v 1.1 2011/03/20 15:34:24 aidecoe Exp $ - -EAPI=2 - -inherit base toolchain-funcs - -DESCRIPTION="Intelligent Battery Monitor" -HOMEPAGE="http://ibam.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="gkrellm" - -DEPEND="gkrellm? ( app-admin/gkrellm )" -RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/${P}-ldflags.patch" - "${FILESDIR}/${P}-acpi.patch" - ) - -src_prepare() { - base_src_prepare - sed -i \ - -e "s:^CFLAGS=-O3:CFLAGS=${CFLAGS}:" \ - -e "s:^CC=g++:CC=$(tc-getCXX):" \ - "${S}"/Makefile \ - || die "Failed to set CFLAGS/compiler" -} - -src_compile() { - emake || die "Making ibam failed" - if use gkrellm; then - emake krell || die "Making krell failed" - fi -} - -src_install() { - dobin ibam || die "dobin failed" - dodoc CHANGES README REPORT || die "dodoc failed" - - if use gkrellm; then - insinto /usr/$(get_libdir)/gkrellm2/plugins - doins ibam-krell.so || die "doins gkrellm plugin failed" - fi -} - -pkg_postinst() { - elog - elog "You will need to install sci-visualization/gnuplot if you wish to use" - elog "the --plot argument to ibam." - elog -} diff --git a/app-laptop/ibam/ibam-0.5.2.ebuild b/app-laptop/ibam/ibam-0.5.2.ebuild deleted file mode 100644 index 7030c04b9ef3..000000000000 --- a/app-laptop/ibam/ibam-0.5.2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibam/ibam-0.5.2.ebuild,v 1.2 2010/10/19 21:16:33 chainsaw Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Intelligent Battery Monitor" -HOMEPAGE="http://ibam.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="gkrellm" - -DEPEND="gkrellm? ( app-admin/gkrellm )" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - - sed -i \ - -e "s:^CFLAGS=-O3:CFLAGS=${CFLAGS}:" \ - -e "s:^CC=g++:CC=$(tc-getCXX):" \ - "${S}"/Makefile \ - || die "Sed Makefile failed" -} - -src_compile() { - emake || die "Making ibam failed" - if use gkrellm; then - emake krell || die "Making krell failed" - fi -} - -src_install() { - dobin ibam || die "dobin failed" - dodoc CHANGES README REPORT || die "dodoc failed" - - if use gkrellm; then - insinto /usr/$(get_libdir)/gkrellm2/plugins - doins ibam-krell.so || die "doins gkrellm plugin failed" - fi -} - -pkg_postinst() { - elog - elog "You will need to install sci-visualization/gnuplot if you wish to use" - elog "the --plot argument to ibam." - elog -} |