Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 239033

Summary: app-laptop/tp_smapi-0.39 version bump
Product: Gentoo Linux Reporter: Igor Rafienko <igorr+gentoobugs>
Component: New packagesAssignee: Peter Weller (RETIRED) <welp>
Status: RESOLVED FIXED    
Severity: enhancement CC: fischer, mobile+disabled
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 0.39 ebuild

Description Igor Rafienko 2008-09-29 11:44:49 UTC
New version (0.39) is out (as of 2008-09-27)

As compared to 0.37 (latest in portage), the new version includes:

- Fixed compilation on kernel 2.6.27-rc7                                                           
- tp_smapi: Added a new battery attribute                                                               /sys/devices/platform/smapi/BAT?/remaining_percent_error                                         
  This is the error margin for the remaing_percent attribute.                                         Unfortunately, it doesn't seem to be reset by battery calibration.                               
- hdaps: Removed the fake_data_mode attribute.                                                                                                                                                        

This does not include any major new features, but it is an update nonetheless. 

Renaming the 0.37 ebuild and removing the semaphore patch did the trick for me. 

Reproducible: Always
Comment 1 Igor Rafienko 2008-09-29 11:46:37 UTC
Created attachment 166749 [details]
0.39 ebuild

tp_smapi-0.39.ebuild as currently used in my local overlay.
Comment 2 Thomas Fischer 2008-10-12 19:21:40 UTC
I vote for the version bump to 0.39 as there is a problem with 0.37 to support both old (before 2.6.26) and new (2.6.26 and later) kernels.
Originally, tp_smapi supported older kernels only, but recently a patch was added changing an #include statement to support newer kernels, but preventing compilation with older kernels.
Although the patch could be corrected, this problem is already fixed upstream.
Comment 3 Florian Manschwetus 2008-10-17 07:39:35 UTC
Ack, please bump it, I'm going to make the thinkpad-source 2.6.27 ready.
Comment 4 Peter Weller (RETIRED) gentoo-dev 2008-10-20 08:41:42 UTC
Bumped, thanks!