Package: boinc / 7.14.2+dfsg-3

disable_new_version_check.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Description: Disable new version check in notices tab
 Debian/Ubuntu specific patch.
Author: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>,
	ChristianB
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1140597

---

Forwarded: not-needed
Reviewed-By: costamagnagianfranco@yahoo.it
Last-Update: <2013-03-07>

Index: boinc-7.14.2+dfsg/client/client_state.cpp
===================================================================
--- boinc-7.14.2+dfsg.orig/client/client_state.cpp
+++ boinc-7.14.2+dfsg/client/client_state.cpp
@@ -644,7 +644,7 @@
     // NOTE: this must be called AFTER
     // read_vc_config_file()
     //
-    newer_version_startup_check();
+//    newer_version_startup_check();
 
     // parse account files again,
     // now that we know the host's venue on each project
Index: boinc-7.14.2+dfsg/client/scheduler_op.cpp
===================================================================
--- boinc-7.14.2+dfsg.orig/client/scheduler_op.cpp
+++ boinc-7.14.2+dfsg/client/scheduler_op.cpp
@@ -138,7 +138,7 @@
         // and project list
         //
         if (!cc_config.no_info_fetch) {
-            gstate.new_version_check();
+//            gstate.new_version_check();
             gstate.all_projects_list_check();
         }
     }
Index: boinc-7.14.2+dfsg/clientgui/AdvancedFrame.cpp
===================================================================
--- boinc-7.14.2+dfsg.orig/clientgui/AdvancedFrame.cpp
+++ boinc-7.14.2+dfsg/clientgui/AdvancedFrame.cpp
@@ -198,7 +198,7 @@
     EVT_MENU(ID_HELPBOINCMANAGER, CAdvancedFrame::OnHelpBOINC)
     EVT_MENU(ID_HELPBOINCWEBSITE, CAdvancedFrame::OnHelpBOINC)
     EVT_MENU(wxID_ABOUT, CAdvancedFrame::OnHelpAbout)
-    EVT_MENU(ID_CHECK_VERSION, CAdvancedFrame::OnCheckVersion)
+    //EVT_MENU(ID_CHECK_VERSION, CAdvancedFrame::OnCheckVersion)
     EVT_HELP(wxID_ANY, CAdvancedFrame::OnHelp)
     // Custom Events & Timers
     EVT_FRAME_CONNECT(CAdvancedFrame::OnConnect)
@@ -689,6 +689,7 @@
     );
     menuHelp->AppendSeparator();
 
+/*    
     strMenuName.Printf(
         _("Check for new %s version"),
         pSkinAdvanced->GetApplicationShortName().c_str()
@@ -704,6 +705,8 @@
     );
     menuHelp->AppendSeparator();
 
+*/
+
     strMenuName.Printf(
         _("&About %s..."), 
         pSkinAdvanced->GetApplicationName().c_str()
Index: boinc-7.14.2+dfsg/clientgui/sg_BoincSimpleFrame.cpp
===================================================================
--- boinc-7.14.2+dfsg.orig/clientgui/sg_BoincSimpleFrame.cpp
+++ boinc-7.14.2+dfsg/clientgui/sg_BoincSimpleFrame.cpp
@@ -85,7 +85,7 @@
     EVT_MENU(ID_HELPBOINCMANAGER, CSimpleFrame::OnHelpBOINC)
     EVT_MENU(ID_HELPBOINCWEBSITE, CSimpleFrame::OnHelpBOINC)
     EVT_MENU(wxID_ABOUT, CSimpleFrame::OnHelpAbout)
-    EVT_MENU(ID_CHECK_VERSION, CSimpleFrame::OnCheckVersion)
+    //EVT_MENU(ID_CHECK_VERSION, CSimpleFrame::OnCheckVersion)
 	EVT_MENU(ID_EVENTLOG, CSimpleFrame::OnEventLog)
     EVT_MOVE(CSimpleFrame::OnMove)
 #ifdef __WXMAC__
@@ -260,6 +260,7 @@
     );
     menuHelp->AppendSeparator();
 
+/*
     strMenuName.Printf(
         _("Check for new %s version"),
         pSkinAdvanced->GetApplicationShortName().c_str()
@@ -275,6 +276,8 @@
     );
     menuHelp->AppendSeparator();
 
+*/
+
     strMenuName.Printf(
         _("&About %s..."), 
         pSkinAdvanced->GetApplicationName().c_str()