Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121120 - app-laptop/kthinkbat - new ebuild
Summary: app-laptop/kthinkbat - new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://www.thinkwiki.org/wiki/KThinkBat
Whiteboard:
Keywords: EBUILD
: 141488 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-31 19:26 UTC by Anton Bolshakov
Modified: 2008-04-12 18:37 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for the latest version of KThinkBat. (kthinkbat-0.1.5.ebuild,899 bytes, text/plain)
2006-02-26 09:25 UTC, Tobias Roeser
Details
app-laptop/kthinkbat-0.1.5-r1.ebuild (kthinkbat-0.1.5-r1.ebuild,932 bytes, text/plain)
2006-02-26 09:26 UTC, Tobias Roeser
Details
kthinkbat-0.1.5-assert-patch (kthinkbat-0.1.5-assert-patch,1001 bytes, patch)
2006-02-26 09:29 UTC, Tobias Roeser
Details | Diff
app-laptop/kthinkbat-0.1.6.ebuild (kthinkbat-0.1.6.ebuild,847 bytes, text/plain)
2006-07-23 06:01 UTC, Tobias Roeser
Details
app-laptop/kthinkbat-0.2.6.ebuid (kthinkbat-0.2.6.ebuild,864 bytes, text/plain)
2007-05-22 19:49 UTC, Tobias Roeser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2006-01-31 19:26:53 UTC
There is nice kde thinkpad battery monitor based on tp_smapi which is in the portage already.
Here is a latest ebuilds for it:
https://lepetitfou.dyndns.org/svn/portage-overlay-lefou/trunk/app-laptop/kthinkbat/
Comment 1 Tobias Roeser 2006-02-26 09:25:30 UTC
Created attachment 80775 [details]
ebuild for the latest version of KThinkBat.

I'm the author of KThinkBat and be willing to maintain any new version of this ebuild. 

On some (maybe older) KDE installations will the assert.h not included through the kde libraries. This gives a compile error which is resolved in the next -r1 version of the ebuild.
Comment 2 Tobias Roeser 2006-02-26 09:26:56 UTC
Created attachment 80776 [details]
app-laptop/kthinkbat-0.1.5-r1.ebuild

This ebuild assumes the patch (see next attachment) in files directory.
Comment 3 Tobias Roeser 2006-02-26 09:29:35 UTC
Created attachment 80777 [details, diff]
kthinkbat-0.1.5-assert-patch

This patch will be needed for app-laptop/kthinkbat-0.1.5-r1 to solve a compile error with missing <assert.h> include.

This problem is fixed upstream. Patching will not be necessary in next version.
Comment 4 Tobias Roeser 2006-07-23 06:01:06 UTC
Created attachment 92550 [details]
app-laptop/kthinkbat-0.1.6.ebuild

New version of KThinkBat (0.1.6) is available. 

It works stable and is used by many people outside of gentoo, too. Please include it to the main portage tree.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 06:20:57 UTC
*** Bug 141488 has been marked as a duplicate of this bug. ***
Comment 6 Tobias Roeser 2006-07-23 06:53:15 UTC
One thing for clarification:
Although KThinkBat can optionally use app-laptop/tp_smapi on IBM Laptops, it doesn't need it. KThinkBat works with any ACPI Laptop, independent of the brand.
Comment 7 Oliver Roeschke 2006-09-07 04:56:24 UTC
ebuild for version 0.1.9 can be found here:
https://lepetitfou.dyndns.org/wiki/view/Werkstatt/KThinkBat#Download
Comment 8 Tobias Roeser 2006-10-31 08:07:46 UTC
Latest version of KThinkBat is 0.2.2. An ebuild can be (as always) found here:
https://lepetitfou.dyndns.org/svn/portage-overlay-lefou/trunk/app-laptop/kthinkbat/kthinkbat-0.2.2.ebuild
Comment 9 Tobias Roeser 2007-05-22 19:45:39 UTC
https://lepetitfou.dyndns.org/svn/gentoo/lefous_portage_overlay/app-laptop/kthinkbat/kthinkbat-0.2.6.ebuild

Bumping this. KThinkBat works stable on all installations I know. An ebuild is available, too. It is a nice laptop battery monitor for any ACPI laptop and there is no comparable other software in the tree.

Maybe I'll find a proxy maintainer?
Comment 10 Tobias Roeser 2007-05-22 19:49:18 UTC
Created attachment 120025 [details]
app-laptop/kthinkbat-0.2.6.ebuid

ebuild for the latest stable version of kthinkbat
Comment 11 Robert A. 2007-09-10 12:10:41 UTC
works for me on an ibm/lenovo x60s, apart from the fact that the current consumption/remaining time is only shown with panel size "normal" (or bigger).
Comment 12 Tobias Roeser 2007-09-10 12:40:54 UTC
(In reply to comment #11)
> works for me on an ibm/lenovo x60s, apart from the fact that the current
> consumption/remaining time is only shown with panel size "normal" (or bigger).
> 

This is not a bug but a feature. 

You can configure the layout of KThinkBat in it's preferences dialog. If you panel is to small you can either make the battery gauge smaller or deselect "Info Field below of Battery Gauge" or select a smaller font for the info field or a combination of these settings, as you prefer.
Comment 14 Robert A. 2007-09-10 14:27:02 UTC
(In reply to comment #12)
> You can configure the layout of KThinkBat in it's preferences dialog. If you
> panel is to small you can either make the battery gauge smaller or deselect
> "Info Field below of Battery Gauge" or select a smaller font for the info field
> or a combination of these settings, as you prefer.

Thanks for clarifying.
This works for the small panel size. With a "tiny" panel the info text does not fit even the smallest available height (10/2).

Anyway - 0.2.8 also works for me. (:
Comment 15 Robert A. 2007-09-10 14:29:05 UTC
(In reply to comment #14)
> This works for the small panel size. With a "tiny" panel the info text does not
> fit even the smallest available height (10/2).

Well.. there is an option for the font size too. I'm just too tired.
Comment 16 Ryan Hill (RETIRED) gentoo-dev 2008-04-12 18:37:26 UTC
Looks good.  Added to the tree.