]> git.pld-linux.org Git - packages/enlightenment.git/commitdiff
- updated for 0.16.999.038
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Sep 2007 18:31:18 +0000 (18:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    enlightenmentDR17-module_temp_mac.patch -> 1.2

enlightenmentDR17-module_temp_mac.patch

index ac5aa1a5ce593757f006c57345f9c0c31561bac4..46052f7094a8a0ccc809623bb033ef40bbc108d9 100644 (file)
@@ -1,26 +1,12 @@
---- enlightenment-0.16.999.026/src/modules/temperature/e_mod_config.c.orig     2006-04-24 12:47:29.000000000 +0000
-+++ enlightenment-0.16.999.026/src/modules/temperature/e_mod_config.c  2006-04-24 12:49:59.000000000 +0000
-@@ -281,6 +281,10 @@
-       f = fopen("/sys/devices/temperatures/cpu_temperature", "rb");
-       if (f) fclose(f);
-+      else {
-+              f = fopen("/sys/devices/temperatures/sensor1_temperature", "rb");
-+              if (f) fclose(f);
-+      }
-       
-       if (!f)
-         {
---- enlightenment-0.16.999.026/src/modules/temperature/e_mod_main.c.orig       2006-04-24 12:47:26.000000000 +0000
-+++ enlightenment-0.16.999.026/src/modules/temperature/e_mod_main.c    2006-04-24 12:58:18.000000000 +0000
-@@ -291,6 +291,10 @@
-       if (therms) ecore_list_destroy(therms);
-       f = fopen("/sys/devices/temperatures/cpu_temperature", "rb");
-+      if (!f) {
-+              f = fopen("/sys/devices/temperatures/sensor1_temperature", "rb");
-+      }
-+           
-       if (f)
-         {
-            fgets(buf, sizeof(buf), f); buf[sizeof(buf) - 1] = 0;
+--- enlightenment-0.16.999.038/src/modules/temperature/e_mod_main.c.orig       2007-03-26 01:28:22.000000000 +0200
++++ enlightenment-0.16.999.038/src/modules/temperature/e_mod_main.c    2007-09-09 19:21:22.754853908 +0200
+@@ -286,6 +286,9 @@
+             inst->sensor_path = evas_stringshare_add("/proc/omnibook/temperature");
+             break;
+          case SENSOR_TYPE_LINUX_MACMINI:
++            if(!ecore_file_exists("/sys/devices/temperatures/cpu_temperature") && ecore_file_exists("/sys/devices/temperatures/sensor1_temperature"))
++                inst->sensor_path = evas_stringshare_add("/sys/devices/temperatures/sensor1_temperature");
++            else
+                 inst->sensor_path = evas_stringshare_add("/sys/devices/temperatures/cpu_temperature");
+             break;
+          case SENSOR_TYPE_LINUX_I2C:
This page took 0.076209 seconds and 4 git commands to generate.