[Pkg-wmaker-commits] [wmacpi] 17/105: wmacpi: Bump to version 2.0.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 18 01:13:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmacpi.
commit d24ba1e88f126ec01c2ed5451182f478153a5f45
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Mon Aug 18 17:56:23 2014 -0500
wmacpi: Bump to version 2.0.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.
2004 October 24 2.0
Upped version number to 2.0.
Small typo fixes.
wmacpi 2.0 goes gold . . .
---
ChangeLog | 7 +++++++
libacpi.c | 3 +--
libacpi.h | 1 +
wmacpi.1 | 5 +----
wmacpi.c | 2 +-
5 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b54f1e4..ebdcb2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004 October 24 2.0
+ Upped version number to 2.0.
+
+ Small typo fixes.
+
+ wmacpi 2.0 goes gold . . .
+
2004 September 28 2.0rc1
Added support for switching to capacity mode automatically, on
detecting dodgy reports from the battery.
diff --git a/libacpi.c b/libacpi.c
index 28557a2..6ea74d6 100644
--- a/libacpi.c
+++ b/libacpi.c
@@ -409,7 +409,7 @@ static int calc_remaining_percentage(int batt)
}
/* check to see if we've been getting bad data from the batteries - if
- * we get more than some limit we swith to using the remaining capacity
+ * we get more than some limit we switch to using the remaining capacity
* for the calculations. */
static enum rtime_mode check_rt_mode(global_t *globals)
{
@@ -477,7 +477,6 @@ static int calc_charge_time_rate(int batt)
* mode, and then use that to estimate charge time. This will
* necessarily be even less accurate than it is for remaining time, but
* it's just as neessary . . . */
-#define CAP_SAMPLES (SAMPLES*10)
static int calc_charge_time_cap(int batt)
{
static float cap_samples[CAP_SAMPLES];
diff --git a/libacpi.h b/libacpi.h
index e98dee3..7cdaf5d 100644
--- a/libacpi.h
+++ b/libacpi.h
@@ -8,6 +8,7 @@
#define MAX_NAME 128
#define MAXBATT 8
#define SAMPLES 50
+#define CAP_SAMPLES (SAMPLES*10)
typedef enum {
REMAIN,
diff --git a/wmacpi.1 b/wmacpi.1
index 304a423..070a219 100644
--- a/wmacpi.1
+++ b/wmacpi.1
@@ -1,4 +1,4 @@
-.TH WMACPI 1 "April 15 2004"
+.TH WMACPI 1 "August 15 2004"
.SH NAME
wmacpi \- Battery status monitor for systems supporting ACPI
.SH NAME
@@ -154,9 +154,6 @@ Print the version information.
.B \-h
Display help.
.TP
-.SH SEE ALSO
-.BR wmapm (1)
-.br
.SH AUTHOR
.B wmacpi
was originally written by Tim Copperfield <timecop at japan.co.jp>, then
diff --git a/wmacpi.c b/wmacpi.c
index 07cd80d..46c3f9e 100644
--- a/wmacpi.c
+++ b/wmacpi.c
@@ -37,7 +37,7 @@
#include "libacpi.h"
#include "wmacpi.h"
-#define WMACPI_VER "2.0rc1"
+#define WMACPI_VER "2.0"
/* main pixmap */
#ifdef LOW_COLOR
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmacpi.git
More information about the Pkg-wmaker-commits
mailing list