[Python-apps-commits] r3141 - in packages/sabnzbdplus/trunk/debian/patches (2 files)

jcfp-guest at users.alioth.debian.org jcfp-guest at users.alioth.debian.org
Sat Jun 20 17:10:47 UTC 2009


    Date: Saturday, June 20, 2009 @ 17:10:45
  Author: jcfp-guest
Revision: 3141

Add patch to disable new version check (#530628)

Added:
  packages/sabnzbdplus/trunk/debian/patches/08_disable_new_version_check.dpatch
Modified:
  packages/sabnzbdplus/trunk/debian/patches/00list

Modified: packages/sabnzbdplus/trunk/debian/patches/00list
===================================================================
--- packages/sabnzbdplus/trunk/debian/patches/00list	2009-06-20 17:05:14 UTC (rev 3140)
+++ packages/sabnzbdplus/trunk/debian/patches/00list	2009-06-20 17:10:45 UTC (rev 3141)
@@ -2,3 +2,4 @@
 02_find_parts_in_usr_share.dpatch
 04_use_config_when_daemon.dpatch
 07_use_system_configobj.dpatch
+08_disable_new_version_check.dpatch

Added: packages/sabnzbdplus/trunk/debian/patches/08_disable_new_version_check.dpatch
===================================================================
--- packages/sabnzbdplus/trunk/debian/patches/08_disable_new_version_check.dpatch	                        (rev 0)
+++ packages/sabnzbdplus/trunk/debian/patches/08_disable_new_version_check.dpatch	2009-06-20 17:10:45 UTC (rev 3141)
@@ -0,0 +1,82 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 08_disable_new_version_check.dpatch by JCF Ploemen (jcfp) <linux at jp.pp.ru>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Don't ever check for a new version (overruling the setting)
+
+ at DPATCH@
+diff -urNad sabnzbdplus-0.4.11~/interfaces/Default/templates/config_switches.tmpl sabnzbdplus-0.4.11/interfaces/Default/templates/config_switches.tmpl
+--- sabnzbdplus-0.4.11~/interfaces/Default/templates/config_switches.tmpl	2009-05-18 18:42:21.000000000 +0200
++++ sabnzbdplus-0.4.11/interfaces/Default/templates/config_switches.tmpl	2009-06-02 17:31:16.000000000 +0200
+@@ -85,9 +85,7 @@
+     <label><input type="checkbox" name="auto_sort" value="1" <!--#if $auto_sort > 0 then "checked=1" else ""#--> /> <strong>Sort by age</strong></label><br>
+     Automatically sort items by (average) age.<br>
+     <br>
+-    <label><input type="checkbox" name="check_rel" value="1" <!--#if $check_rel > 0 then "checked=1" else ""#--> /> <strong>Check for new release</strong></label><br>
+-    Weekly check for new SABnzbd release.<br>
+-    <br>
++    <input type="hidden" name="check_rel" value="0" />
+     <label><input type="checkbox" name="replace_spaces" value="1" <!--#if $replace_spaces > 0 then "checked=1" else ""#--> /> <strong>Replace spaces in foldername</strong></label><br>
+     Replace spaces with underscores in foldernames.<br>
+     <br>
+diff -urNad sabnzbdplus-0.4.11~/interfaces/Plush/templates/config_switches.tmpl sabnzbdplus-0.4.11/interfaces/Plush/templates/config_switches.tmpl
+--- sabnzbdplus-0.4.11~/interfaces/Plush/templates/config_switches.tmpl	2009-05-18 18:42:22.000000000 +0200
++++ sabnzbdplus-0.4.11/interfaces/Plush/templates/config_switches.tmpl	2009-06-02 17:31:16.000000000 +0200
+@@ -156,11 +156,7 @@
+ 				<legend id="configbox_other_switches">Other&nbsp;Switches</legend>
+ 				
+ 				<table cellpadding=2>
+-					<tr>
+-						<td align=right><div class="tucker">Check for New Release:</div></td>
+-						<td><input type="checkbox" name="check_rel" value="1" <!--#if $check_rel > 0 then "checked=1" else ""#--> /></td>
+-						<td><small>Weekly check for new SABnzbd release.</small></td>
+-					</tr>
++					<input type="hidden" name="check_rel" value="0" />
+ 					<tr>
+ 						<td align=right><div class="tucker">Launch Web Browser on Startup:</div></td>
+ 						<td><input type="checkbox" name="auto_browser" value="1" <!--#if $auto_browser > 0 then "checked=1" else ""#--> /></td>
+diff -urNad sabnzbdplus-0.4.11~/interfaces/iphone/templates/config_switches.tmpl sabnzbdplus-0.4.11/interfaces/iphone/templates/config_switches.tmpl
+--- sabnzbdplus-0.4.11~/interfaces/iphone/templates/config_switches.tmpl	2009-05-18 18:42:21.000000000 +0200
++++ sabnzbdplus-0.4.11/interfaces/iphone/templates/config_switches.tmpl	2009-06-02 17:31:16.000000000 +0200
+@@ -102,12 +102,7 @@
+             <input type="hidden" id="auto_sort" name="auto_sort" value="$auto_sort">
+                 <div class="toggle" onclick="toggleValue('auto_sort')" <!--#if $auto_sort > 0 then 'toggled="true"' else ''#-->><span class="thumb"></span><span class="toggleOn">Yes</span><span class="toggleOff">No</span></div>
+  		</div>
+-            <div class="row">
+-
+-			<label>Check for new release:</label><br/><br/>
+-            <input type="hidden" id="check_rel" name="check_rel" value="$check_rel">
+-                <div class="toggle" onclick="toggleValue('check_rel')" <!--#if $check_rel > 0 then 'toggled="true"' else ''#-->><span class="thumb"></span><span class="toggleOn">Yes</span><span class="toggleOff">No</span></div>
+- 		</div>
++            <input type="hidden" id="check_rel" name="check_rel" value="0">
+             <div class="row">
+ 
+ 			<label>Replace spaces in foldername:</label><br/><br/>
+diff -urNad sabnzbdplus-0.4.11~/interfaces/smpl/templates/config_switches.tmpl sabnzbdplus-0.4.11/interfaces/smpl/templates/config_switches.tmpl
+--- sabnzbdplus-0.4.11~/interfaces/smpl/templates/config_switches.tmpl	2009-05-18 18:42:24.000000000 +0200
++++ sabnzbdplus-0.4.11/interfaces/smpl/templates/config_switches.tmpl	2009-06-02 17:33:56.000000000 +0200
+@@ -107,11 +107,7 @@
+ 		    <label><span class="label">Sort by age:</span>
+ 		    <input class="radio" type="checkbox" name="auto_sort" value="1" <!--#if $auto_sort > 0 then "checked=1" else ""#--> />
+ 		    <span class="tips">Automatically sort items by (average) age.</span></label>
+- 		<br class="clear" />
+-
+-			<label><span class="label">Check for new release:</span>
+-		    <input class="radio" type="checkbox" name="check_rel" value="1" <!--#if $check_rel > 0 then "checked=1" else ""#--> />
+-		    <span class="tips">Weekly check for new SABnzbd release.</span></label>
++		    <input type="hidden" name="check_rel" value="0" />
+  		<br class="clear" />
+ 
+ 			<label><span class="label">Replace spaces in foldername:</span>
+diff -urNad sabnzbdplus-0.4.11~/sabnzbd/__init__.py sabnzbdplus-0.4.11/sabnzbd/__init__.py
+--- sabnzbdplus-0.4.11~/sabnzbd/__init__.py	2009-06-02 17:31:15.000000000 +0200
++++ sabnzbdplus-0.4.11/sabnzbd/__init__.py	2009-06-02 17:31:16.000000000 +0200
+@@ -347,7 +347,7 @@
+     API_KEY = check_setting_str(CFG, 'misc', 'api_key', create_api_key())
+     NO_API_KEY = bool(check_setting_int(CFG, 'misc', 'disable_api_key', 0))
+ 
+-    VERSION_CHECK = bool(check_setting_int(CFG, 'misc', 'check_new_rel', 1))
++    VERSION_CHECK = bool(0)
+ 
+     REPLACE_SPACES = bool(check_setting_int(CFG, 'misc', 'replace_spaces', 0))
+     REPLACE_ILLEGAL = bool(check_setting_int(CFG, 'misc', 'replace_illegal', 1))


Property changes on: packages/sabnzbdplus/trunk/debian/patches/08_disable_new_version_check.dpatch
___________________________________________________________________
Added: svn:executable
   + *




More information about the Python-apps-commits mailing list