rpms/acpitool/devel acpitool-0.5-gcc43.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 acpitool.spec, 1.14, 1.15 sources, 1.7, 1.8 acpitool-0.4.7-gcc43.patch, 1.1, NONE

Patrice Dumas pertusus at fedoraproject.org
Thu Sep 18 15:01:53 UTC 2008


Author: pertusus

Update of /cvs/extras/rpms/acpitool/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25461

Modified Files:
	.cvsignore acpitool.spec sources 
Added Files:
	acpitool-0.5-gcc43.patch 
Removed Files:
	acpitool-0.4.7-gcc43.patch 
Log Message:
* Thu Sep 18 2008 Patrice Dumas <pertusus at free.fr> 0.5-1
- update to 0.5


acpitool-0.5-gcc43.patch:

--- NEW FILE acpitool-0.5-gcc43.patch ---
diff -up acpitool-0.5/src/cpu.cpp.gcc43 acpitool-0.5/src/cpu.cpp
--- acpitool-0.5/src/cpu.cpp.gcc43	2008-09-18 16:48:49.000000000 +0200
+++ acpitool-0.5/src/cpu.cpp	2008-09-18 16:49:22.000000000 +0200
@@ -69,7 +69,7 @@ int Show_CPU_Info()
 		    Show_Freq_Info();          // show freq scaling info if we have it //
 		else
 		{
-		    bzero(temp, 130);           
+		    memset(temp, '\0', 130);           
 		    sscanf(str, "%*[^:] %*s %s",temp);                    // ignore all up till :,  then ignore the :, then use what's left //
 		    printf("  CPU speed              : %s MHz \n", temp);
 		}
diff -up acpitool-0.5/src/freq.cpp.gcc43 acpitool-0.5/src/freq.cpp
--- acpitool-0.5/src/freq.cpp.gcc43	2008-07-21 00:47:55.000000000 +0200
+++ acpitool-0.5/src/freq.cpp	2008-09-18 16:46:54.000000000 +0200
@@ -28,6 +28,7 @@
 #endif
 
 #include <cstdlib>
+#include <cstring>
 #include <iostream>
 #include <iomanip>
 #include <fstream>
diff -up acpitool-0.5/src/toshiba.cpp.gcc43 acpitool-0.5/src/toshiba.cpp
--- acpitool-0.5/src/toshiba.cpp.gcc43	2007-11-06 22:19:59.000000000 +0100
+++ acpitool-0.5/src/toshiba.cpp	2008-09-18 16:46:54.000000000 +0200
@@ -29,6 +29,7 @@
 #endif
 
 #include <cstdlib>
+#include <cstring>
 #include <iostream>
 #include <iomanip>
 #include <fstream>


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/acpitool/devel/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore	17 Dec 2007 18:19:53 -0000	1.7
+++ .cvsignore	18 Sep 2008 15:01:23 -0000	1.8
@@ -1 +1 @@
-acpitool-0.4.7.tar.bz2
+acpitool-0.5.tar.bz2


Index: acpitool.spec
===================================================================
RCS file: /cvs/extras/rpms/acpitool/devel/acpitool.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- acpitool.spec	14 Jul 2008 17:12:23 -0000	1.14
+++ acpitool.spec	18 Sep 2008 15:01:23 -0000	1.15
@@ -1,22 +1,23 @@
 Summary: Command line ACPI client
 Name: acpitool
-Version: 0.4.7
-Release: 5%{?dist}
+Version: 0.5
+Release: 1%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: http://freeunix.dyndns.org:8000/site2/acpitool.shtml
 
-Source: http://freeunix.dyndns.org:8000/ftp_site/pub/unix/acpitool/acpitool-%{version}.tar.bz2
-Patch0: acpitool-0.4.7-gcc43.patch
+Source0: http://freeunix.dyndns.org:8088/ftp_site/pub/unix/acpitool/acpitool-%{version}.tar.bz2
+Patch0: acpitool-0.5-gcc43.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
 AcpiTool is a Linux ACPI client. It's a small command line application, 
-intended to be a replacement for the apm tool. The primary target audience 
-are laptop users, since these people are most interested in things like 
-battery status, thermal status and the ability to suspend (sleep mode). 
-The program simply accesses the /proc/acpi or /sysfs entries to get or set 
-ACPI values.
+intended to be a replacement for the apm tool. Besides "basic" ACPI 
+information like battery status, AC presence, putting the laptop to
+sleep, Acpitool also supports various extensions for Toshiba, Asus and 
+IBM Thinkpad laptops, allowing you to change the LCD brightness level, 
+toggle fan on/off, and more. 
+
 
 %prep
 %setup -q
@@ -40,6 +41,9 @@
 %{_mandir}/man1/acpitool*
 
 %changelog
+* Thu Sep 18 2008 Patrice Dumas <pertusus at free.fr> 0.5-1
+- update to 0.5
+
 * Mon Jul 14 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.4.7-5
 - fix license tag
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/acpitool/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	17 Dec 2007 18:19:53 -0000	1.7
+++ sources	18 Sep 2008 15:01:23 -0000	1.8
@@ -1 +1 @@
-cba416a11229e896ec2639c59b6f59c5  acpitool-0.4.7.tar.bz2
+c4acc19eb002d6871d12abb490593202  acpitool-0.5.tar.bz2


--- acpitool-0.4.7-gcc43.patch DELETED ---




More information about the fedora-extras-commits mailing list