summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2004-10-30 17:26:28 +0000
committerCarsten Lohrke <carlo@gentoo.org>2004-10-30 17:26:28 +0000
commit4e61a326a1440cd1cef5c2beaea0d10a54b13035 (patch)
tree296fd14b59dcafcca1ac93b3ba02280624314f48 /kde-misc/ksensors/files
parentMoving to kde-misc/ksensors (diff)
downloadgentoo-2-4e61a326a1440cd1cef5c2beaea0d10a54b13035.tar.gz
gentoo-2-4e61a326a1440cd1cef5c2beaea0d10a54b13035.tar.bz2
gentoo-2-4e61a326a1440cd1cef5c2beaea0d10a54b13035.zip
Moved from app-misc/ksensors to kde-misc/ksensors.
Diffstat (limited to 'kde-misc/ksensors/files')
-rw-r--r--kde-misc/ksensors/files/digest-ksensors-0.7.21
-rw-r--r--kde-misc/ksensors/files/digest-ksensors-0.7.2-r11
-rw-r--r--kde-misc/ksensors/files/digest-ksensors-0.7.31
-rw-r--r--kde-misc/ksensors/files/ksensors-0.7.2-scaling.diff56
-rw-r--r--kde-misc/ksensors/files/startupcrash.diff19
5 files changed, 78 insertions, 0 deletions
diff --git a/kde-misc/ksensors/files/digest-ksensors-0.7.2 b/kde-misc/ksensors/files/digest-ksensors-0.7.2
new file mode 100644
index 000000000000..337a6bdddcff
--- /dev/null
+++ b/kde-misc/ksensors/files/digest-ksensors-0.7.2
@@ -0,0 +1 @@
+MD5 e54e706ea240a162377a17b85715ad62 ksensors-0.7.2.tar.gz 739244
diff --git a/kde-misc/ksensors/files/digest-ksensors-0.7.2-r1 b/kde-misc/ksensors/files/digest-ksensors-0.7.2-r1
new file mode 100644
index 000000000000..337a6bdddcff
--- /dev/null
+++ b/kde-misc/ksensors/files/digest-ksensors-0.7.2-r1
@@ -0,0 +1 @@
+MD5 e54e706ea240a162377a17b85715ad62 ksensors-0.7.2.tar.gz 739244
diff --git a/kde-misc/ksensors/files/digest-ksensors-0.7.3 b/kde-misc/ksensors/files/digest-ksensors-0.7.3
new file mode 100644
index 000000000000..ff767a2aea3a
--- /dev/null
+++ b/kde-misc/ksensors/files/digest-ksensors-0.7.3
@@ -0,0 +1 @@
+MD5 4f6c5d7dea5e637e772d17f1e547d6f1 ksensors-0.7.3.tar.gz 864466
diff --git a/kde-misc/ksensors/files/ksensors-0.7.2-scaling.diff b/kde-misc/ksensors/files/ksensors-0.7.2-scaling.diff
new file mode 100644
index 000000000000..055d3d55bbab
--- /dev/null
+++ b/kde-misc/ksensors/files/ksensors-0.7.2-scaling.diff
@@ -0,0 +1,56 @@
+diff -aur ksensors-0.7.2.old/ksensors/cpupanel.cpp ksensors-0.7.2/ksensors/cpupanel.cpp
+--- ksensors-0.7.2.old/ksensors/cpupanel.cpp 2002-05-24 22:50:14.000000000 +0200
++++ ksensors-0.7.2/ksensors/cpupanel.cpp 2004-03-07 19:24:51.000000000 +0100
+@@ -38,7 +38,7 @@
+ ptr= strchr(buffer,':');
+ if(ptr) {
+ value= (const char *)(ptr+2);
+- value.stripWhiteSpace();
++ value= value.stripWhiteSpace();
+ }
+ result= true;
+ break;
+diff -aur ksensors-0.7.2.old/ksensors/lmsensorpanel.cpp ksensors-0.7.2/ksensors/lmsensorpanel.cpp
+--- ksensors-0.7.2.old/ksensors/lmsensorpanel.cpp 2003-02-18 00:41:41.000000000 +0100
++++ ksensors-0.7.2/ksensors/lmsensorpanel.cpp 2004-03-07 19:25:17.000000000 +0100
+@@ -51,8 +51,8 @@
+ }
+ switch( sensor->getTempScale() )
+ {
+- case Sensor::dgKelvin: valMask= "%0.fK"; break;
+- default : valMask= "%0.f^"; break;
++ case Sensor::dgKelvin: valMask= "%.1fK"; break;
++ default : valMask= "%.1f^"; break;
+ }
+ break;
+
+@@ -63,7 +63,7 @@
+ arc->setValueMaxLimit( sensor->getValueMax(),0);
+ arc->setColorRanges(red,green,green);
+ }
+- valMask= "%0.f RPM";
++ valMask= "%.0f RPM";
+ break;
+
+ case Sensor::lmVoltage :
+@@ -76,7 +76,7 @@
+ arc->setColorRanges(blue,QColor(0,200,150),blue);
+ arc->setArrowColor(darkBlue);
+ }
+- valMask= "%0.2fv";
++ valMask= "%.2fv";
+ break;
+
+ }
+diff -aur ksensors-0.7.2.old/ksensors/lmsensor.cpp ksensors-0.7.2/ksensors/lmsensor.cpp
+--- ksensors-0.7.2.old/ksensors/lmsensor.cpp 2003-02-18 00:04:59.000000000 +0100
++++ ksensors-0.7.2/ksensors/lmsensor.cpp 2004-03-13 17:20:17.000000000 +0100
+@@ -69,7 +69,7 @@
+ bool valid= false;
+ while( (*data= sensors_get_all_features(*chip_name, nr1, nr2)) && (*data)->mapping!=SENSORS_NO_MAPPING) {
+ str= (*data)->name;
+- if(str.find("_min")>=0) {
++ if(str.find("_min")>=0 || str.find("_low")>=0) {
+ sensors_get_feature(*chip_name, (*data)->number, &valMin);
+ valid= true;
+ } else
diff --git a/kde-misc/ksensors/files/startupcrash.diff b/kde-misc/ksensors/files/startupcrash.diff
new file mode 100644
index 000000000000..ab508a71ab77
--- /dev/null
+++ b/kde-misc/ksensors/files/startupcrash.diff
@@ -0,0 +1,19 @@
+--- ksensors/lmsensordockpanel.cpp.orig 2002-12-26 12:48:59.000000000 +1100
++++ ksensors/lmsensordockpanel.cpp 2002-12-26 12:53:06.000000000 +1100
+@@ -28,6 +28,7 @@
+ LMSensorDockPanel::LMSensorDockPanel(Sensor *newSensor, const char *name) : KSystemTray( 0, name )
+ {
+ strValue = "";
++ setPixmap(BarIcon("ksensorsdocked"));
+ if(newSensor) {
+ sensor= newSensor;
+ updateConfig();
+@@ -35,7 +36,7 @@
+ connect( newSensor, SIGNAL(configChanged()) , this, SLOT(updateConfig()) );
+ } else {
+ sensor= 0;
+- setPixmap(BarIcon("ksensorsdocked"));
++ //setPixmap(BarIcon("ksensorsdocked"));
+ }
+ }
+