fixed fancontrol2 dependency(webinterface -> openwebif).
authorkos <kos@dev3>
Wed, 13 Feb 2013 09:52:12 +0000 (18:52 +0900)
committerkos <kos@dev3>
Wed, 13 Feb 2013 10:00:01 +0000 (19:00 +0900)
meta-openvuplus/recipes-vuplus/enigma2/enigma2-plugins.bb
meta-openvuplus/recipes-vuplus/enigma2/enigma2-plugins/enigma2_plugins_fancontrol2.patch [new file with mode: 0644]

index ae9e05c..d532eac 100755 (executable)
@@ -11,7 +11,7 @@ SRCREV="c8fc96e8e51e1ef71e1709f9dd6f733007f9463e"
 SRCDATE="20110215"
 BRANCH="master"
 PV = "experimental-git${SRCDATE}"
 SRCDATE="20110215"
 BRANCH="master"
 PV = "experimental-git${SRCDATE}"
-PR = "r9"
+PR = "r10"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
@@ -30,7 +30,7 @@ SRC_URI_append_vuplus = " \
           file://enigma2_plugins_webinterface_tpm.patch;patch=1;pnum=1 \
           file://enigma2_plugins_ac3lipsync_dolby.patch;patch=1;pnum=1 \
           file://enigma2_plugins_autoresolution_fix.patch;patch=1;pnum=1 \
           file://enigma2_plugins_webinterface_tpm.patch;patch=1;pnum=1 \
           file://enigma2_plugins_ac3lipsync_dolby.patch;patch=1;pnum=1 \
           file://enigma2_plugins_autoresolution_fix.patch;patch=1;pnum=1 \
-          file://enigma2_plugins_dependency.patch;patch=1;pnum=1 \
+          file://enigma2_plugins_fancontrol2.patch;patch=1;pnum=1 \
           file://enigma2_plugins_gst_plugins_pkgname.patch;patch=1;pnum=1 \
            file://dreamboxweb.png \
            file://dreamboxwebtv.png \
           file://enigma2_plugins_gst_plugins_pkgname.patch;patch=1;pnum=1 \
            file://dreamboxweb.png \
            file://dreamboxwebtv.png \
diff --git a/meta-openvuplus/recipes-vuplus/enigma2/enigma2-plugins/enigma2_plugins_fancontrol2.patch b/meta-openvuplus/recipes-vuplus/enigma2/enigma2-plugins/enigma2_plugins_fancontrol2.patch
new file mode 100644 (file)
index 0000000..f5daea0
--- /dev/null
@@ -0,0 +1,26 @@
+diff --git a/fancontrol2/CONTROL/control b/fancontrol2/CONTROL/control
+index a2cee72..d8dec7f 100644
+--- a/fancontrol2/CONTROL/control
++++ b/fancontrol2/CONTROL/control
+@@ -3,4 +3,4 @@ Version: 2.5
+ Description: Temperature dependent fan control
+ Maintainer: IHAD joergm6 <joergm6@www.i-have-a-dreambox.com>
+ Homepage: http://www.i-have-a-dreambox.com
+-Depends: enigma2 (>> 2.6)
++Depends: enigma2 (>> 2.6), enigma2-plugin-extensions-openwebif
+diff --git a/fancontrol2/src/plugin.py b/fancontrol2/src/plugin.py
+index 847cd6c..671bfa3 100644
+--- a/fancontrol2/src/plugin.py
++++ b/fancontrol2/src/plugin.py
+@@ -1045,9 +1045,8 @@ def Plugins(**kwargs):
+       list = [
+       PluginDescriptor(name="Fan Control", 
+       description="Fan Control 2", 
+-      where = [PluginDescriptor.WHERE_SESSIONSTART, 
+-      PluginDescriptor.WHERE_AUTOSTART], 
+-      fnc = autostart),
++      where = PluginDescriptor.WHERE_NETWORKCONFIG_READ,
++      fnc = autostart, weight=10),
+       PluginDescriptor(name="Fan Control", 
+       description="Fan Control 2", 
+       where = PluginDescriptor.WHERE_PLUGINMENU,